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
| `token` | Token to use for inference. Typically the GITHUB_TOKEN secret | `github.token` |
45
76
| `prompt` | The prompt to send to the model | N/A |
77
+
| `prompt-file` | Path to a file containing the prompt. If both `prompt` and `prompt-file` are provided, `prompt-file` takes precedence | `""` |
46
78
| `system-prompt` | The system prompt to send to the model | `""` |
47
79
| `model` | The model to use for inference. Must be available in the [GitHub Models](https://github.com/marketplace?type=models) catalog | `gpt-4o` |
48
80
| `endpoint` | The endpoint to use for inference. If you're running this as part of an org, you should probably use the org-specific Models endpoint | `https://models.github.ai/inference` |
@@ -52,9 +84,10 @@ the action:
52
84
53
85
The AI inference action provides the following outputs:
0 commit comments