Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion architect-review/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ inputs:
fallback-on-regex:
description: Rotate to the next fallback model when output matches this regex.
required: false
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out|ProviderModelNotFoundError
prompt:
description: Value exported as PROMPT before running `opencode github run`. When empty, the built-in architect review prompt is used.
required: false
Expand Down
2 changes: 1 addition & 1 deletion feature-missing/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ inputs:
fallback-on-regex:
description: Rotate to the next fallback model when output matches this regex.
required: false
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out|ProviderModelNotFoundError
cleanup-error-comments:
description: >-
When true, automatically delete error comments posted by opencode to the PR
Expand Down
2 changes: 1 addition & 1 deletion github-run-opencode/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ inputs:
fallback-on-regex:
description: Rotate to the next fallback model when output matches this regex.
required: false
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out|ProviderModelNotFoundError
prompt:
description: Value exported as PROMPT before running `opencode github run`.
required: false
Expand Down
4 changes: 2 additions & 2 deletions github-run-opencode/run-github-opencode.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,11 @@ def _main() -> int:
)
fallback_on_regex = get_env(
"GITHUB_RUN_OPENCODE_FALLBACK_ON_REGEX",
"timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out",
"timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out|ProviderModelNotFoundError",
)

# Core opencode env
os.environ["OPENCODE_ARGS"] = "github run"
os.environ["OPENCODE_ARGS"] = "github run --print-logs --log-level ERROR"
set_env("OPENCODE_WORKING_DIRECTORY", get_env("GITHUB_RUN_OPENCODE_WORKING_DIRECTORY"))
set_env("OPENCODE_ATTEMPTS", get_env("GITHUB_RUN_OPENCODE_ATTEMPTS", "3"))
set_env("OPENCODE_RETRY_PROFILE", get_env("GITHUB_RUN_OPENCODE_RETRY_PROFILE", "github-network"))
Expand Down
2 changes: 1 addition & 1 deletion multi-review/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ inputs:
fallback-on-regex:
description: Rotate to next fallback model when output matches this regex.
required: false
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out|ProviderModelNotFoundError
reviewer-config:
description: Path to a YAML file defining custom reviewer personas and team composition.
required: false
Expand Down
2 changes: 1 addition & 1 deletion multi-review/run-multi-review.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def _main() -> int:
fallback_models_str = get_env("MULTI_REVIEW_FALLBACK_MODELS", "")
fallback_on_regex = get_env(
"MULTI_REVIEW_FALLBACK_ON_REGEX",
"timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out",
"timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out|ProviderModelNotFoundError",
)
coordinator_prompt_template = get_env("MULTI_REVIEW_COORDINATOR_PROMPT", "")

Expand Down
2 changes: 1 addition & 1 deletion review/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ inputs:
fallback-on-regex:
description: Rotate to the next fallback model when output matches this regex.
required: false
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out|ProviderModelNotFoundError
prompt:
description: Value exported as PROMPT before running `opencode github run`.
required: false
Expand Down
2 changes: 1 addition & 1 deletion spec-coverage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ inputs:
fallback-on-regex:
description: Rotate to the next fallback model when output matches this regex.
required: false
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out
default: timed out|timeout|deadline exceeded|context deadline exceeded|operation timed out|connection timed out|ProviderModelNotFoundError
cleanup-error-comments:
description: >-
When true, automatically delete error comments posted by opencode to the PR
Expand Down
Loading