We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5a699f commit 15096b5Copy full SHA for 15096b5
1 file changed
src/api/vertex.py
@@ -324,7 +324,8 @@ def _fix_thought_signatures(contents: list) -> list:
324
real_id, signature = decode_tool_id_and_signature(raw_id)
325
fc["id"] = real_id
326
327
- if not part.get("thoughtSignature"):
+ existing_sig = part.get("thoughtSignature")
328
+ if not existing_sig or existing_sig == _SKIP_THOUGHT_SENTINEL:
329
part["thoughtSignature"] = signature if signature else _SKIP_THOUGHT_SENTINEL_B64
330
331
return contents
0 commit comments