Skip to content

Commit

Permalink
chore(ui): switch to /v1/chat/completions
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Apr 27, 2024
1 parent bf72255 commit 3fb809d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/tabby-ui/lib/hooks/use-patch-fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 3fb809d

Please sign in to comment.