shinmentakezo07 Claude Opus 4.6 commited on
Commit
cab3daa
·
1 Parent(s): 323ebc6

fix(executor): remove unused import and vertex variable

Browse files

Drop an unused fmt import in BaseExecutor and ignore an unused projectID value in Gemini Vertex provider credentials path to satisfy Go compiler checks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

internal/runtime/executor/base_executor.go CHANGED
@@ -4,7 +4,6 @@ import (
4
  "bufio"
5
  "bytes"
6
  "context"
7
- "fmt"
8
  "io"
9
  "net/http"
10
 
 
4
  "bufio"
5
  "bytes"
6
  "context"
 
7
  "io"
8
  "net/http"
9
 
internal/runtime/executor/gemini_vertex_provider.go CHANGED
@@ -42,7 +42,7 @@ func (p *GeminiVertexProvider) GetCredentials(auth *cliproxyauth.Auth) (apiKey,
42
  }
43
 
44
  // Fall back to service account - return empty apiKey to signal service account auth
45
- projectID, location, _, err := vertexCreds(auth)
46
  if err != nil {
47
  return "", ""
48
  }
 
42
  }
43
 
44
  // Fall back to service account - return empty apiKey to signal service account auth
45
+ _, location, _, err := vertexCreds(auth)
46
  if err != nil {
47
  return "", ""
48
  }