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
1 change: 0 additions & 1 deletion docs-site/content/kagent/main/reference/api-ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ _Appears in:_
| `azureEndpoint` _string_ | Endpoint for the Azure OpenAI API | | **Required** <br /> |
| `apiVersion` _string_ | API version for the Azure OpenAI API. Required unless apiFormat is responses. | | |
| `azureDeployment` _string_ | Deployment name for the Azure OpenAI API | | |
| `azureAdToken` _string_ | Azure AD token for authentication | | |
| `temperature` _string_ | Temperature for sampling | | |
| `maxTokens` _integer_ | Maximum tokens to generate | | Minimum: 1 <br /> |
| `topP` _string_ | Top-p sampling parameter | | |
Expand Down
1 change: 0 additions & 1 deletion docs-site/content/kagent/main/reference/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ A Helm chart for kagent, built with Google ADK
| providers.azureOpenAI.apiKeySecretKey | string | `"AZUREOPENAI_API_KEY"` | |
| providers.azureOpenAI.apiKeySecretRef | string | `"kagent-azure-openai"` | |
| providers.azureOpenAI.config.apiVersion | string | `"2023-05-15"` | |
| providers.azureOpenAI.config.azureAdToken | string | `""` | |
| providers.azureOpenAI.config.azureDeployment | string | `""` | |
| providers.azureOpenAI.config.azureEndpoint | string | `""` | |
| providers.azureOpenAI.model | string | `"gpt-4.1-mini"` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The `AzureOpenAI` provider calls an Azure OpenAI deployment. It differs from the
| `provider` | The provider to use, `AzureOpenAI`. |
| `azureOpenAI.azureEndpoint` | The endpoint of your Azure OpenAI resource. This field is required. |
| `azureOpenAI.apiVersion` | The Azure OpenAI API version to call. This field is required unless `apiFormat` is `responses`. |
| `azureOpenAI.azureDeployment` | The name of the deployment within the resource. |
| `azureOpenAI.azureDeployment` | The name that you gave the model deployment when you created it in your Azure OpenAI resource. The name can differ from the model name. |

## Azure OpenAI provider settings

Expand All @@ -58,8 +58,7 @@ The `azureOpenAI` block takes the following settings. For every field, including
| `azureEndpoint` | The endpoint of the Azure OpenAI resource. Required. |
| `apiFormat` | Which Azure OpenAI HTTP API to call, either `chatCompletions` or `responses`. Defaults to `chatCompletions`. |
| `apiVersion` | The Azure OpenAI API version. Required unless `apiFormat` is `responses`. |
| `azureDeployment` | The deployment name within the resource. |
| `azureAdToken` | A Microsoft Entra ID token to send instead of an API key. |
| `azureDeployment` | The name that you gave the model deployment when you created it in your Azure OpenAI resource. The name can differ from the model name. |
| `temperature` | How much randomness the model applies when it picks the next token. |
| `topP` | The nucleus sampling cutoff. |
| `maxTokens` | A cap on the tokens generated in one response. |
Expand Down Expand Up @@ -102,10 +101,11 @@ A link reaches Azure regardless of its media type. Inline bytes reach Azure as a

## Authentication

The `azureAdToken` field is not available in a ModelConfig. Use one of the following credential configurations.

| Configuration | Credential |
| ------------- | ---------- |
| `apiKeySecret` is set | The API key from the referenced Secret. |
| `azureOpenAI.azureAdToken` is set | The Microsoft Entra ID token given in the field. |
| `tokenPassthrough: true` | The bearer token from the caller's request, forwarded to Azure OpenAI as the API key. This is not Microsoft Entra ID authentication, and it is mutually exclusive with `apiKeySecret`. |
| `actorJwt` is set | A newly issued Actor token, sent in the `api-key` header. This is not Microsoft Entra ID authentication, and it is mutually exclusive with `apiKeySecret`, `apiKeySecretKey`, and `tokenPassthrough`. For more information, see [Authenticate as the Actor]({{< link path="setup/model-providers/about-model-providers#authenticate-as-the-actor" >}}). |

Expand Down
Loading