Skip to content

fix: Empty string IDs are overwritten, leading to inconsistencies in …#776

Merged
jaberjaber23 merged 1 commit intoRightNow-AI:mainfrom
felix307253927:pr-main-321
Mar 27, 2026
Merged

fix: Empty string IDs are overwritten, leading to inconsistencies in …#776
jaberjaber23 merged 1 commit intoRightNow-AI:mainfrom
felix307253927:pr-main-321

Conversation

@felix307253927
Copy link
Copy Markdown
Contributor

…certain models.

Summary

Empty string IDs are overwritten, leading to inconsistencies in certain models.

If the ID is an empty string, it gets overwritten, causing anomalies in models like qwen3.5-plus and minimax-2.5 during multi-turn tool calls.

Changes

Testing

  • cargo clippy --workspace --all-targets -- -D warnings passes
  • cargo test --workspace passes
  • Live integration tested (if applicable)

Security

  • No new unsafe code
  • No secrets or API keys in diff
  • User input validated at boundaries

@felix307253927
Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants