(data: PlainMessage<ListConversationsRequest>)
| 109 | }; |
| 110 | |
| 111 | export const listConversations = async (data: PlainMessage<ListConversationsRequest>) => { |
| 112 | const response = await apiclientV2.get("/chats/conversations", data); |
| 113 | return fromJson(ListConversationsResponseSchema, response); |
| 114 | }; |
| 115 | |
| 116 | export const listSupportedModels = async (data: PlainMessage<ListSupportedModelsRequest>) => { |
| 117 | const response = await apiclientV2.get("/chats/models", data); |
no test coverage detected