chore: commit workspace updates

This commit is contained in:
ddCat committed 2026-09-14 01:11:56 +08:00
1 parent 01a2d171f5
commit 9727656b2b
491 files changed
+12826 -72249

No files matched your search

+2 -2
View File
@@ -27,9 +27,9 @@ func TestRunClaudeTextTaskUsesMessagesAndAPIKeyHeader(t *testing.T) {
config := providerConfig{
BaseURL: server.URL + "/v1", APIKey: "claude-key", Model: "claude-test", APIFormat: "claude", InterfaceType: string(model.ChannelInterfaceClaudeAPI),
AllowLocalChannel: true,
}
result, err := runTextTask(withProviderOutboundPolicy(context.Background(), config), canvasGenerationInput{Mode: "text", Prompt: "hello", Config: config})
t.Setenv("CANVAS_ALLOWED_PRIVATE_UPSTREAM_HOSTS", "127.0.0.1")
result, err := runTextTask(context.Background(), canvasGenerationInput{Mode: "text", Prompt: "hello", Config: config})
if err != nil {
t.Fatal(err)
}