Skip to content

Commit

Permalink
correct chat url
Browse files Browse the repository at this point in the history
  • Loading branch information
mruwnik committed May 4, 2024
1 parent f7889ba commit 6c6dccb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/hooks/useChat.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export const CHATBOT_URL = 'https://chat.stampy.ai:8443/chat'

export type Citation = {
title: string
authors: string[]
Expand Down Expand Up @@ -248,7 +250,7 @@ const fetchLLM = async (
controller: AbortController,
settings?: ChatSettings
): Promise<Response | void> =>
fetch(`${CHATBOT_URL}`, {
fetch(CHATBOT_URL, {
signal: controller.signal,
method: 'POST',
cache: 'no-cache',
Expand Down

0 comments on commit 6c6dccb

Please sign in to comment.