diff --git a/ee/tabby-ui/lib/hooks/use-patch-fetch.ts b/ee/tabby-ui/lib/hooks/use-patch-fetch.ts index 8dccd8555d70..e80a60c3efcd 100644 --- a/ee/tabby-ui/lib/hooks/use-patch-fetch.ts +++ b/ee/tabby-ui/lib/hooks/use-patch-fetch.ts @@ -27,7 +27,7 @@ export function usePatchFetch(options?: PatchFetchOptions) { 'Content-Type': 'application/json' } - const res = await fetcher(`/v1beta/chat/completions`, { + const res = await fetcher(`/v1/chat/completions`, { ...requestInit, body: mergeMessagesByRole(requestInit?.body), method: 'POST',