#30280 [Bug]: DashscopeException - 'function' is a required property, expected an object - 'tools.7'
### Check for existing issues
- [x] I have searched the existing issues and checked that my issue is not a duplicate.
### What happened?
codex can not use litellm api which is dashscope account
### Steps to Reproduce
1. install dashscope and add litellm provider in profile `.codex/config.toml` codex cli version 0.136.0 config content ``` [model_providers.new_api] name = "DeepSeek" base_url = "http://xxx/llm/api/v1" env_key = "API_KEY" wire_api = "responses"
[profiles.deepseek] model = "deepseek-v4-flash" model_provider = "new_api" ```
2. open codex and chat any thing, the errors occurs
### Relevant log output
```shell litellm.BadRequestError: DashscopeException - 'function' is a required property, expected an object - 'tools.7'. Received Model Group=xxx ```
### What part of LiteLLM is this about?
Proxy
### What LiteLLM version are you on ?
v1.85.1
### Twitter / LinkedIn details
_No response_