You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Optional: Specify the model vendor for model selection (e.g. 'Anthropic', 'OpenAI').
82
-
# When set, the platform uses this to determine the available models for the engine.
83
-
vendor: 'Anthropic'
81
+
# Optional: Specify the model vendors for model selection (e.g. 'Anthropic', 'OpenAI').
82
+
# When set, the platform uses these to determine the available models for the engine.
83
+
vendors:
84
+
- 'Anthropic'
85
+
- 'OpenAI'
84
86
```
85
87
86
88
> **Note:** This is not a GitHub Action. The platform reads `entrypoint` from `engine.yaml` and runs it directly. All paths in the entrypoint are resolved relative to the engine's root directory.
@@ -101,7 +103,7 @@ The platform injects these environment variables into the engine process at runt
101
103
| `GITHUB_SELECTED_MODEL` | No | Model selected by the platform for this run. Only set when model selection is enabled. |
102
104
| `GITHUB_DEFAULT_MODEL` | No | Default model for the selected engine. Only set when model selection is enabled. |
103
105
| `GITHUB_AVAILABLE_MODELS` | No | JSON array of models the engine can choose from (e.g. `["claude-sonnet-4.5","claude-opus-4.1"]`). Only set when model selection is enabled. |
104
-
| `GITHUB_MODEL_VENDOR` | No | Model vendor as defined by the `vendor` field in `engine.yaml` (e.g. `Anthropic`, `OpenAI`). Only set when model selection is enabled. |
106
+
| `GITHUB_MODEL_VENDORS` | No | JSON array of model vendors as defined by the `vendors` field in `engine.yaml` (e.g. `["Anthropic","OpenAI"]`). Only set when model selection is enabled. |
| `selected_model` | Model selected by the platform for this run. Present when `features.model_selection` is `true`. |
177
179
| `default_model` | Default model for the selected engine. Present when `features.model_selection` is `true`. |
178
180
| `available_models` | List of models the engine can choose from. Present when `features.model_selection` is `true`. |
179
-
| `model_vendor` | Model vendor as defined by the `vendor` field in `engine.yaml` (e.g. `Anthropic`, `OpenAI`). Present when `features.model_selection` is `true`. |
181
+
| `model_vendors` | List of model vendors as defined by the `vendors` field in `engine.yaml` (e.g. `["Anthropic", "OpenAI"]`). Present when `features.model_selection` is `true`. |
180
182
| `mcp_proxy_url` | Optional URL of the MCP proxy server. When present, use it to discover user-provided MCP servers. See [User-Provided MCP Servers](#user-provided-mcp-servers). |
181
183
182
184
Use `GITHUB_INFERENCE_TOKEN` for model calls and `GITHUB_GIT_TOKEN` for git operations; those are bootstrap action inputs, not job response fields.
0 commit comments