mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-07-12 15:04:53 +00:00
7773fa01b8
Reproduces trace 019d8f33-2de1-7ab2-9a32-9df92cd610dd where Google's OpenAI-compat shim returns 400 'Name cannot be empty' on FunctionResponse because role=tool wire messages omit the 'name' field. - TestBuildRequestBody_ToolMessageIncludesName: expects 'name' on tool msg - TestBuildRequestBody_ToolMessageNameLookupUsesRawID: long ToolCallID still resolves - TestBuildRequestBody_ToolMessageWithoutMatchingCallOmitsName: orphan stays nameless