update dist

This commit is contained in:
Paulo Santos
2026-02-15 00:26:15 +00:00
committed by GitHub
parent 27965bc3a4
commit e608d2ba8a
4 changed files with 33 additions and 35 deletions
+2 -2
View File
@@ -141,7 +141,7 @@ modelParameters:
```
| Key | Type | Description |
| --------------------- | ------ | -------------------------------------------------------------- |
| --------------------- | ------ | ----------------------------------------------------- |
| `maxCompletionTokens` | number | The maximum number of tokens to generate |
| `maxTokens` | number | The maximum number of tokens to generate (deprecated) |
| `temperature` | number | The sampling temperature to use (0-1) |
@@ -304,7 +304,7 @@ Various inputs are defined in [`action.yml`](action.yml) to let you configure
the action:
| Name | Description | Default |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------ |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------ |
| `token` | Token to use for inference. Typically the GITHUB_TOKEN secret | `github.token` |
| `prompt` | The prompt to send to the model | N/A |
| `prompt-file` | Path to a file containing the prompt (supports .txt and .prompt.yml formats). If both `prompt` and `prompt-file` are provided, `prompt-file` takes precedence | `""` |
Generated Vendored
+1 -2
View File
@@ -58300,7 +58300,6 @@ OpenAI.Responses = Responses;
OpenAI.Evals = Evals;
OpenAI.Containers = Containers;
// Note: solution around models using different underlying max tokens properties
/**
* Build according to what input was passed, default to max_tokens.
* Only one of max_tokens or max_completion_tokens will be set.
@@ -58366,7 +58365,7 @@ async function mcpInference(request, githubMcpClient) {
model: request.modelName,
temperature: request.temperature,
top_p: request.topP,
...buildMaxTokensParam(request),
...buildMaxTokensParam(request), // Note: solution around models using different underlying max tokens properties
};
// Add response format if specified (only on final iteration to avoid conflicts with tool calls)
if (finalMessage && request.responseFormat) {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
-1
View File
@@ -34,7 +34,6 @@ export interface InferenceResponse {
}>
}
/**
* Build according to what input was passed, default to max_tokens.
* Only one of max_tokens or max_completion_tokens will be set.