We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ddcd08 commit bf79b4aCopy full SHA for bf79b4a
frontend/src/api/apiClient.ts
@@ -289,7 +289,9 @@ const sendAssistantMessage = async (
289
previousResponseId?: string,
290
) => {
291
try {
292
- const response = await publicApi.post(`/v1/api/assistant`, {
+ // The adminApi interceptor will automatically include your JWT token
293
+ // if you're authenticated, and gracefully omit it if you're not
294
+ const response = await adminApi.post(`/v1/api/assistant`, {
295
message,
296
previous_response_id: previousResponseId,
297
});
0 commit comments