From 129578c3d9c6536af6caf12fe9f4724941ec3a50 Mon Sep 17 00:00:00 2001 From: yetone Date: Fri, 30 Oct 2026 18:17:05 +0800 Subject: [PATCH] agent: pi_api_test.go is gofmt'd 7474a86f1 left the map literal's keys aligned to a longer key it no longer has, so `gofmt -l` named the file on main. gofmt -w only; whitespace, no test changes. --- internal/agent/pi_api_test.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/internal/agent/pi_api_test.go b/internal/agent/pi_api_test.go index cbcb9c7cd..5c73aa864 100644 --- a/internal/agent/pi_api_test.go +++ b/internal/agent/pi_api_test.go @@ -61,13 +61,13 @@ func TestPiModelsAskedOnTheirNativeAPI(t *testing.T) { apis[m["id"].(string)], entries[m["id"].(string)] = m["api"], m } for id, want := range map[string]any{ - "resp/grok-5": "openai-responses", - "resp/gpt-5.5": "openai-responses", - "openai/gpt-5.5": "openai-responses", - "openai/whisper-x": nil, - "relay/glm-4.6": nil, - "anth/claude-sonnet-5": "anthropic-messages", - "anth/kimi-k3": "anthropic-messages", + "resp/grok-5": "openai-responses", + "resp/gpt-5.5": "openai-responses", + "openai/gpt-5.5": "openai-responses", + "openai/whisper-x": nil, + "relay/glm-4.6": nil, + "anth/claude-sonnet-5": "anthropic-messages", + "anth/kimi-k3": "anthropic-messages", // Pi's folder keeps Gemini on Chat: Raft runs Pi's SDK on it with // a fetch pi-ai's Google adapter refuses (piAsked); OmO, below, // asks Gemini's API