Skip to content

Add a corresponding UUID field for FunctionCall and FunctionExecutionResult #7042

@zrquan

Description

@zrquan

What happened?

Describe the bug
FunctionCall and FunctionExecutionResult are linked by call_id field, but this ID is provided by the model. There may be situations where the ID is empty or not unique. This makes it difficult to pair function calls with call results.

To Reproduce
This only happens sometimes, and I'm not sure which model can reproduce it...

Expected behavior
Can we add a UUID field, like the full_message_id in ModelClientStreamingChunkEvent?

Which packages was the bug in?

Python AgentChat (autogen-agentchat>=0.4.0)

AutoGen library version.

Python dev (main branch)

Other library version.

No response

Model used

Qwen3

Model provider

Ollama

Other model provider

No response

Python version

None

.NET version

None

Operating system

None

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions