( conversationId: string, opts?: UseQueryOptionsOverride<GetConversationResponse>, )
| 106 | }; |
| 107 | |
| 108 | export const useGetConversationQuery = ( |
| 109 | conversationId: string, |
| 110 | opts?: UseQueryOptionsOverride<GetConversationResponse>, |
| 111 | ) => { |
| 112 | return useQuery({ |
| 113 | queryKey: queryKeys.conversations.getConversation(conversationId).queryKey, |
| 114 | queryFn: () => getConversation({ conversationId }), |
| 115 | ...opts, |
| 116 | }); |
| 117 | }; |
| 118 | |
| 119 | // Removed: useCreateConversationMessageMutation - use streaming API instead |
| 120 |
nothing calls this directly
no test coverage detected