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] Deep Research: Can't use reasoning_effort=high #676

Open
boxabirds opened this issue Feb 17, 2025 · 2 comments
Open

[BUG] Deep Research: Can't use reasoning_effort=high #676

boxabirds opened this issue Feb 17, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@boxabirds
Copy link

boxabirds commented Feb 17, 2025

Describe the bug
I don't seem to have access to "o1" and "o1-mini" seemed to fail so I tried claude-3.5-sonnet-xxxx and had to turn reasoning_effort=high off and set token output to 8192 and I got some… modest output.

Anyone able to get reasoning_effort=high working? For which models? I have ollama so I can use that too.

Code to reproduce the error
Just run.py in the deep research example

Error logs (if any)

    raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'message': 'The model `o1` does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/julian/.local/share/virtualenvs/open_deep_research-hTz85m-6/lib/python3.11/site-packages/litellm/main.py", line 1724, in completion
    raise e
  File "/Users/julian/.local/share/virtualenvs/open_deep_research-hTz85m-6/lib/python3.11/site-packages/litellm/main.py", line 1697, in completion
    response = openai_chat_completions.completion(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/julian/.local/share/virtualenvs/open_deep_research-hTz85m-6/lib/python3.11/site-packages/litellm/llms/openai/openai.py", line 736, in completion
    raise OpenAIError(
litellm.llms.openai.common_utils.OpenAIError: Error code: 404 - {'error': {'message': 'The model `o1` does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}

Expected behavior
That the example would use a model that is widely available. I assume o1 is tier-restricted?

Packages version:

openinference-instrumentation-smolagents==0.1.5
smolagents==1.9.2
@boxabirds boxabirds added the bug Something isn't working label Feb 17, 2025
@aymeric-roucher
Copy link
Collaborator

@boxabirds it's normal not to be able to use reasoning_effotr="high" on any other model than o1. I don't know about the model being tier restricted, I've never seen this! I get no problem with using "o1" as the model_id.

@boxabirds
Copy link
Author

boxabirds commented Feb 18, 2025 via email

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

No branches or pull requests

2 participants