You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
standardize auto generated ids to have 32 characters #1062
In cases like vertex, the tool calls do not have any ids, so portkey generated ids for them.
When a user tried to use one such id to azure in a subsequent call, they got this error
'messages[2].tool_calls[0].id': string too long. Expected a string with maximum length 40, but got a string with length 44 instead.
Becasuse tool call id is: portkey-6aa6db90-1b84-4155-9f32-f658c97d6b1b and its 44 chars long
Hi, I see this was assigned to @sk-portkey in Dec 2025 and there is no linked PR yet. The Azure >40-char rejection from the issue is still reproducible on current main: 6 sites across src/providers/google/chatComplete.ts and src/providers/google-vertex-ai/chatComplete.ts still generate 'portkey-' + crypto.randomUUID() (44 chars). I would like to pick this up with a minimal fix (32-char dash-stripped UUIDs, no prefix). Happy to step back if it is still in progress.
Activity
narengogi commentedon Dec 24, 2025
assigning to @sk-portkey
aniketkrs commentedon Sep 28, 2026
Hi, I see this was assigned to @sk-portkey in Dec 2025 and there is no linked PR yet. The Azure >40-char rejection from the issue is still reproducible on current main: 6 sites across src/providers/google/chatComplete.ts and src/providers/google-vertex-ai/chatComplete.ts still generate 'portkey-' + crypto.randomUUID() (44 chars). I would like to pick this up with a minimal fix (32-char dash-stripped UUIDs, no prefix). Happy to step back if it is still in progress.