Skip to content

Extra args not work to disable thinking #6642

@inspire-boy

Description

@inspire-boy

What happened?

I pass args "thinking" to OpenAIChatCompletionClient But it not work. It still output "think" label. Is there a good way to do this now?

{
  "provider": "autogen_ext.models.openai.OpenAIChatCompletionClient",
  "component_type": "model",
  "version": 1,
  "component_version": 1,
  "description": "doubao_1_5_thinking_pro_m_250428_model_config",
  "label": "doubao_1_5_thinking_pro_m_250428_model_config",
  "config": {
    "model": "doubao-1-5-thinking-pro-m-250428",
    "base_url": "https://ark.cn-beijing.volces.com/api/v3/",
    "api_key": "xxx",
    "max_tokens": 2000,
    **"thinking": {
      "type": "disabled",
    },**
    "model_capabilities": {
      "vision": true,
      "function_calling": true,
      "json_output": true,
      "structured_output": true
    }
  }
}

DOCS:https://www.volcengine.com/docs/82379/1494384

Image

Which packages was the bug in?

Python Extensions (autogen-ext)

AutoGen library version.

Python dev (main branch)

Other library version.

No response

Model used

doubao-1-5-thinking-pro-m-250428

Model provider

None

Other model provider

No response

Python version

None

.NET version

None

Operating system

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-op-responseIssue or pr has been triaged or responded to and is now awaiting a reply from the original posterneeds-triage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions