MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / useGetConversationQuery

Function useGetConversationQuery

webapp/_webapp/src/query/index.ts:108–117  ·  view source on GitHub ↗
(
  conversationId: string,
  opts?: UseQueryOptionsOverride<GetConversationResponse>,
)

Source from the content-addressed store, hash-verified

106};
107
108export 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

Callers

nothing calls this directly

Calls 1

getConversationFunction · 0.90

Tested by

no test coverage detected