aiAgentLlmUpdate
This GraphQL mutation is designed to update language model for a specified llm guid and establish associations with agent versions.
Description: This mutation updates language model for a specified llm guid and establish associations with specified agent versions.
New agent versions are incrementally associated when updates occur. If an association already exists, it is skipped, and only the new agent versions are associated.
When an LLM is created, it's initially associated with an agent version, for example, with GUID <xxxxxxx-1234-xxxx-xxxx-xxxxxxxxxxxx>. Upon updating the LLM, this existing agent version GUID is retained, and the LLM is also associated with a new agent version, such as <xxxxxxx-234t-xxxx-xxxx-xxxxxxxxxxxx>.
The response demonstrates this incremental association, showing both the previously existing and the newly associated agent versions.
Input Parameters (AiAgentLlmUpdateInput):
id: ID! - Required. LLM GUID.name: String - Optional. Name of the LLM.description: String - Optional. Description of the LLM.externalId: String - Optional. External id of the LLM.agentVersionIds: [String!] - Optional. One or more agent version guids to which LLM need to be associated.
Response:
- Returns the updated
AiAgentLlmobject.
Example Request:
mutation {
aiAgentLlmUpdate(input: {
id: "llm-guid"
name: "Updated model name"
description: "Advanced language model for AI agents"
externalId: "external-id"
agentVersionIds: ["agent-version-guid-1", "agent-version-guid-2"]
}) {
id
version
name
description
externalId
agentVersions {
id
name
version
}
}
}
aiAgentLlmUpdate(
input: AiAgentLlmUpdateInput!
): AiAgentLlm
Arguments
aiAgentLlmUpdate.input ● AiAgentLlmUpdateInput! non-null input agent-control-tower
Type
AiAgentLlm object agent-control-tower