You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have looked for existing issues (including closed) about this
Nothing in Issues mentioning "o3-mini"
Bug Report
CompletionError(ProviderError("{\n \"error\": {\n \"message\": \"Unsupported parameter: 'temperature' is not supported with this model.\",\n \"type\": \"invalid_request_error\",\n \"param\": \"temperature\",\n \"code\": \"unsupported_parameter\"\n }\n}"))
Reproduction
use rig::{providers::openai, agent::AgentBuilder};// Initialize the OpenAI clientlet openai = openai::Client::new("your-openai-api-key");// Create a model and initialize an agentlet o3-mini = openai.completion_model("o3-mini");let agent = AgentBuilder::new(o3-mini).preamble("\ You are Gandalf the white and you will be conversing with other \ powerful beings to discuss the fate of Middle Earth.\ ").build();// Alternatively, you can initialize an agent directlylet agent = openai.agent("gpt-4o").preamble("\ You are Gandalf the white and you will be conversing with other \ powerful beings to discuss the fate of Middle Earth.\ ").build();
Expected behavior
The code executes without error.
Screenshots
N.A.
Additional context
N.A.
The text was updated successfully, but these errors were encountered:
Nothing in Issues mentioning "o3-mini"
Bug Report
CompletionError(ProviderError("{\n \"error\": {\n \"message\": \"Unsupported parameter: 'temperature' is not supported with this model.\",\n \"type\": \"invalid_request_error\",\n \"param\": \"temperature\",\n \"code\": \"unsupported_parameter\"\n }\n}"))
Reproduction
Expected behavior
The code executes without error.
Screenshots
N.A.
Additional context
N.A.
The text was updated successfully, but these errors were encountered: