Skip to content

enhancement: 能否增加grok2api往xai提交封装请求的时候带上tools tool_choice tool_calls等定义 #326

@lionlee0724

Description

@lionlee0724

当前现状

通过cpa调用grok2api发现,grok4.1只能聊天,无法真正干活。经过验证是上游缺少了相关工具的调用。陷入在 thinking 中伪造 code_execution的情况。请佬考虑下

期望改进

带上tools tool_choice tool_calls等定义

价值与场景

让grok2api真正的能用到更多场景。

备选方案(可选)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions