-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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]: chatting with assistant broke #3874
Comments
this can go around with base url setting to https://yourhost/v1. As with openai proxy, v1 is needed for base url. |
Hi gaord! Just want to understand, you are saying if you set the Base URL, it works? Or it still doesn't work? If you have a proxy setup, the Base URL must be specified. |
it works |
@gaord do you have by any chance any more logs from the container with that error message? |
If you are running a proxy, you must set a base URL. See docs: |
it would be helpful to update documents on how to set base_url correctly. |
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for over 30 days with no activity. |
Is there an existing issue for the same bug?
Describe the bug
when chatting with assistant, I always get the following error:
Agent encountered an error while processing the last action.
Error: APIError: litellm.APIError: APIError: OpenAIException - 'str' object has no attribute 'model_dump'
Please try again.
Current OpenHands version
Installation and Configuration
Model and Agent
gpt-4 with proxy, codeactagent
Operating System
No response
Reproduction Steps
No response
Logs, Errors, Screenshots, and Additional Context
No response
The text was updated successfully, but these errors were encountered: