Skip to content

Conversation

zsinba
Copy link

@zsinba zsinba commented Jan 20, 2024

https://platform.openai.com/docs/guides/vision
The official documentation has been updated. The original port failed.

https://platform.openai.com/docs/guides/vision
The official documentation has been updated. The original port failed.
let json = null;
try {
const resp = await fetch("https://api.openai.com/v1/chat/completions", {
const resp = await fetch(`${process.env.OPENAI_BASE_URL}/v1/chat/completions`, {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change in the env is missing otherwise it will not work

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

Successfully merging this pull request may close these issues.

2 participants