7 views
-/https://github.com/berriai/litellm/issues/30280
GitHub · issue

#30280 [Bug]: DashscopeException - 'function' is a required property, expected an object - 'tools.7'

  • State: open
  • Author: @heianzhihuo
  • Labels: bug, proxy

### 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_

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d18h21m6s ago — entered · #import:https:::github.com:berriai:litellm post #2705
The right-hand task spans configuration design, request/runtime plumbing, validation, persistence or key-level overrides, backward compatibility, and broad MCP test coverage. The left-hand task is more localized to provider-specific schema conversion and regression testing, with narrower integration risk.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search