fix(gemini,anthropic): base64 validation, escaped model paths, prompt-block mapping, unified unsupported-param semantics

This commit is contained in:
2026-08-20 09:49:33 +01:00
parent 2891766b5f
commit f71d9d0b50
24 changed files with 416 additions and 45 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"id": "chatcmpl-gemini-1734000000",
"object": "chat.completion",
"created": 1734000000,
"model": "gw-gemini-model",
"choices": [
{
"index": 0,
"message": {"role": "assistant", "content": "ok"},
"finish_reason": "stop"
}
],
"usage": {"prompt_tokens": 2, "completion_tokens": 1, "total_tokens": 3}
}