( planMode: TypesGen.ChatPlanMode | undefined, )
| 542 | const CLEAR_PLAN_MODE_WIRE_VALUE = "" satisfies ChatPlanModeOrClear; |
| 543 | |
| 544 | const toChatPlanModePayload = ( |
| 545 | planMode: TypesGen.ChatPlanMode | undefined, |
| 546 | ): ChatPlanModeOrClear => { |
| 547 | // The API expects an empty string on the wire to clear plan mode. |
| 548 | return planMode ?? CLEAR_PLAN_MODE_WIRE_VALUE; |
| 549 | }; |
| 550 | |
| 551 | const getInfiniteChatsQueryString = ( |
| 552 | filters: InfiniteChatsFilters | undefined, |
no outgoing calls
no test coverage detected