Skip to content

Commit

Permalink
ui: fix trace url
Browse files Browse the repository at this point in the history
  • Loading branch information
634750802 committed May 21, 2024
1 parent 1eb2841 commit 4d6f5a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/chat/use-grouped-conversation-messages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function useGroupedConversationMessages (history: ChatMessage[], messages
userMessage,
assistantMessage,
assistantMessageError: history[i]?.error_message ?? undefined,
assistantAnnotation: { ...assistantAnnotation, traceURL: history[i]?.trace_url ?? undefined },
assistantAnnotation: { ...assistantAnnotation, traceURL: assistantAnnotation.traceURL ?? history[i]?.trace_url ?? undefined },
finished: true,
});
userMessage = undefined;
Expand Down

0 comments on commit 4d6f5a3

Please sign in to comment.