Normalize oversized tool call IDs for OpenAI-compatible gateways
untriaged
### What do you want to change?
Normalize oversized foreign tool-call IDs for all OpenAI-compatible Chat Completions providers.
### Why?
Custom gateways such as LiteLLM may forward history from other providers/models to OpenAI Responses, which rejects call_id values over 64 characters
### How? (optional)
Preserve short IDs; hash and bound long IDs; consistently remap matching tool results.
关闭于 4 天前 1 条评论