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 src/app/docs/kagent/resources/api-ref/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ _Appears in:_
| `modelConfig` _string_ | The name of the model config to use.<br />If not specified, the default value is "default-model-config".<br />Must be in the same namespace as the Agent. | | |
| `stream` _boolean_ | Whether to stream the response from the model.<br />If not specified, the default value is true. | | |
| `tools` _[Tool](#tool) array_ | | | MaxItems: 20 <br /> |
| `a2aConfig` _[A2AConfig](#a2aconfig)_ | A2AConfig instantiates an A2A server for this agent,<br />served on the HTTP port of the kagent kubernetes<br />controller (default 8083).<br />The A2A server URL will be served at<br /><kagent-controller-ip>:8083/api/a2a/<agent-namespace>/<agent-name><br />Read more about the A2A protocol here: https://github.com/google/A2A | | |
| `a2aConfig` _[A2AConfig](#a2aconfig)_ | A2AConfig instantiates an A2A server for this agent,<br />served on the HTTP port of the kagent kubernetes<br />controller (default 8083).<br />The A2A server URL will be served at<br />&lt;kagent-controller-ip&gt;:8083/api/a2a/&lt;agent-namespace&gt;/&lt;agent-name&gt;<br />Read more about the A2A protocol here: https://github.com/google/A2A | | |
| `deployment` _[DeclarativeDeploymentSpec](#declarativedeploymentspec)_ | | | |


Expand Down
6 changes: 6 additions & 0 deletions src/app/docs/kagent/resources/release-notes/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,12 @@ spec:

The secret name field is renamed from `apiKeySecret` to `apiKeySecret`.

### ModelInfo removed

The `modelInfo` setting is removed from the ModelConfig API.

Supported LLM providers are pre-configured by the [kagent-dev/autogen project fork](https://github.com/kagent-dev/autogen/tree/main/python/packages/autogen-ext/src/autogen_ext/models) for you by default. Trying to override these default settings, such as to enable vision for image recognition, could cause unexpected behavior in models that do not support these settings. Therefore, the `modelInfo` field is removed.

## Memory API

The Memory API is not supported in ADK. The [agent development kit](https://google.github.io/adk-docs/) is required to bring your own agents. As such, the Memory docs are removed.
2 changes: 1 addition & 1 deletion src/app/docs/kagent/supported-providers/anthropic/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
anthropic: {}
```

For Anthropic's Claude models, kagent automatically configures the appropriate model capabilities, including vision support for Claude-3 models. You can override these settings using the `modelInfo` field if needed. For more information about model capabilities and configuration, see [Custom Models](/docs/kagent/supported-providers/custom-models).
For Anthropic's Claude models, kagent automatically configures the appropriate model capabilities, including vision support for Claude-3 models.

3. Apply the above resource to the cluster.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
azureAdToken: <azure_ad_token_value>
```

For Azure OpenAI's standard models, kagent automatically configures the appropriate model capabilities. However, you can override these settings using the `modelInfo` field if needed. For more information about model capabilities and configuration, see [Custom Models](/docs/kagent/supported-providers/custom-models).
For Azure OpenAI's standard models, kagent automatically configures the appropriate model capabilities.

3. Apply the above resource to the cluster.

Expand Down
136 changes: 0 additions & 136 deletions src/app/docs/kagent/supported-providers/custom-models/page.mdx

This file was deleted.

10 changes: 0 additions & 10 deletions src/app/docs/kagent/supported-providers/ollama/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,4 @@ spec:
provider: Ollama
ollama:
host: http://ollama.ollama.svc.cluster.local
# Required: Specify model capabilities
modelInfo:
vision: false
functionCalling: true
jsonOutput: true
family: "unknown"
structuredOutput: true
multipleSystemMessages: false
```

Since Ollama supports various models with different capabilities, you must specify the model's capabilities using the `modelInfo` field. For detailed information about model capabilities and how to configure them, see [Custom Models](/docs/kagent/supported-providers/custom-models). Make sure to set `functionCalling: true` if your model supports it, as this is required for using tools with the agent.
2 changes: 1 addition & 1 deletion src/app/docs/kagent/supported-providers/openai/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
openAI: {}
```

For OpenAI's standard models like GPT-4 and GPT-3.5, kagent automatically configures the appropriate model capabilities. However, you can override these settings using the `modelInfo` field if needed. For more information about model capabilities and configuration, see [Custom Models](/docs/kagent/supported-providers/custom-models).
For OpenAI's standard models like GPT-4 and GPT-3.5, kagent automatically configures the appropriate model capabilities.

3. Apply the above resource to the cluster.

Expand Down