feat: surface OpenCode provider limit errors (#2167)
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
func TestOpenCodeACPUsesManagedRuntime(t *testing.T) {
|
||||
a := NewOpenCodeACP()
|
||||
want := []string{"npx", "--yes", "--prefer-offline", "opencode-ai", "acp"}
|
||||
want := []string{"npx", "--yes", "--prefer-offline", "opencode-ai", "acp", "--print-logs", "--log-level", "ERROR"}
|
||||
|
||||
if got := a.BuildCommand(CommandOptions{}).Args(); !slices.Equal(got, want) {
|
||||
t.Fatalf("BuildCommand = %#v, want %#v", got, want)
|
||||
|
||||
Reference in New Issue
Block a user