Skip to content

Deepseek fails to call functions for streamed outputs #3262

@igorbpf

Description

@igorbpf

Question

Hi all,

My agent, which uses deepseek-chat model API (DeepSeek-V3.2-Exp), fails to call functions/tools when I try to stream the output. It works fine for sync/async output though. I was wondering if this is a model issue or a framework issue. I believe it's model issue since that works for OpenAI models. However, I was hoping we could do something about it since deepseek's API it's quite opaque and there is no reference to that.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions