Skip to content

Whether the base url of a third party can be selected? #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cubxxw opened this issue Aug 14, 2024 · 1 comment
Closed

Whether the base url of a third party can be selected? #64

cubxxw opened this issue Aug 14, 2024 · 1 comment

Comments

@cubxxw
Copy link

cubxxw commented Aug 14, 2024

Whether the base url of a third party can be selecte?

example:

export OPENAI_BASE_URL="xxx"

https://github.com/supabase-community/postgres-new/blob/3350cda89f763fd0d7f03853c988a79e420c6b82/apps/postgres-new/README.md?plain=1#L26-L52

@gregnr
Copy link
Collaborator

gregnr commented Aug 27, 2024

Yes this is now supported using OPENAI_API_BASE and OPENAI_MODEL via #75 (docs here).

Keep in mind that the current prompts and tool calls were designed around gpt-4o, so expect some different behaviour with other models. Also be sure to choose a model that has support for tool calls as these are heavily used by the app.

@gregnr gregnr closed this as completed Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants