Skip to content
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

[BUG] OpenAI's o1-preview and o1-mini models not working #682

Open
1 task done
jelmerkk opened this issue Nov 20, 2024 · 7 comments
Open
1 task done

[BUG] OpenAI's o1-preview and o1-mini models not working #682

jelmerkk opened this issue Nov 20, 2024 · 7 comments
Labels
type: bug Something isn't working

Comments

@jelmerkk
Copy link

jelmerkk commented Nov 20, 2024

Description

Whenever I try to use the o1-preview or the o1-mini model, I get this reponse:

[Service Issue] Openai: Bad Request (400): "error": { "message": "Unsupported value: 'messages[0].role' does not support 'system' with this model.", "type": "invalid_request_error", "param": "messages[0].role", "code": "unsupported_value" }

Device and browser

Macbook Pro M1 on Arc/Chrome/Safari

Screenshots and more

No response

Willingness to Contribute

  • 🙋‍♂️ Yes, I would like to contribute a fix.
@jelmerkk jelmerkk added the type: bug Something isn't working label Nov 20, 2024
@genchadt
Copy link

Dropping in to state that I'm having the same issue. I've deleted and re-added the API token to get access to o1 models but receive this same error message.

@enricoros
Copy link
Owner

@genchadt @jelmerkk Version 2 of Big-AGI dropping soon with full support for o1.
In the meantime you can:

  1. build the v2-dev branch yourself until the official app is out in the next few weeks
  2. use o1 via the openrouter provider (openrouter is a great model server that makes new models available sooner)
  3. use the model on chatgpt until V2 is out.

@genchadt
Copy link

genchadt commented Nov 21, 2024

@genchadt @jelmerkk Version 2 of Big-AGI dropping soon with full support for o1. In the meantime you can:

  1. build the v2-dev branch yourself until the official app is out in the next few weeks
  2. use o1 via the openrouter provider (openrouter is a great model server that makes new models available sooner)
  3. use the model on chatgpt until V2 is out.

Thanks for the response. I have switched to v2-dev and it is working, however I did need to re-add my API key.

@balintbabics
Copy link

Thanks for the response. I have switched to v2-dev and it is working, however I did need to re-generate my API key.

How did you manage to build it locally, the latest v2-dev? On my device, I've got a build error: Error: Failed to collect page data for /draw.

Any tips?

@genchadt
Copy link

genchadt commented Nov 23, 2024

Thanks for the response. I have switched to v2-dev and it is working, however I did need to re-generate my API key.

How did you manage to build it locally, the latest v2-dev? On my device, I've got a build error: Error: Failed to collect page data for /draw.

Any tips?

Here's what I did (I am a git noob)

  1. Deleted the big-agi root folder
  2. Cloned v2-dev from scratch with git clone -b v2-dev https://github.com/enricoros/big-AGI.git
  3. Run npm install then npm run build
  4. Opened big-agi and re-added my API key (think I could've just used the models refresh button there tho)

@enricoros
Copy link
Owner

Great job @genchadt and @balintbabics . I'm close to publish the first V2 officially on Big-AGI.com and very excited about cloud backups and all. Working very very hard on it, and there's so much I want to ship once this major milestone of having the big-agi cloud is done.

@darinkishore
Copy link

Great job @genchadt and @balintbabics . I'm close to publish the first V2 officially on Big-AGI.com and very excited about cloud backups and all. Working very very hard on it, and there's so much I want to ship once this major milestone of having the big-agi cloud is done.

Hey, you're doing really great work. Thank you so much for creating this. I love using it. I use it almost every day. It's incredible that Big-AGI is fucking open source and works, and the thought put in on UX is amazing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants