Waiting for engine...
Skip to main content

aiAgentLlmUpdate

This GraphQL mutation is designed to update the language model for a specified DRAFT LLM GUID and establish associations with agents DRAFT versions.

Description: This mutation updates a language model for a specified DRAFT LLM guid and establishes associations with agents DRAFT versions.

If an association already exists with provided agents draft version, it is skipped, and only new agents draft versions are associated.

Input Parameters (AiAgentLlmUpdateInput):

  • id: ID! - Required. LLM GUID type of DRAFT LLM version.
  • name: String - Optional. Name of the LLM.
  • description: String - Optional. Description of the LLM.
  • agentIds: [ID!] - Optional. List of AI Agent IDs to associate with this llm. This will associate to DRAFT version of those agents

Response:

  • Returns the updated AiAgentLlm object.

Example Request:

mutation {
aiAgentLlmUpdate(input: {
id: "llm-guid"
name: "Updated model name"
description: "Advanced language model for AI agents"
agentIds: ["agent-guid-1", "agent-guid-2"]
}) {
id
name
description
agentVersions {
id
name
version
}
}
}

aiAgentLlmUpdate(
input: AiAgentLlmUpdateInput!
): AiAgentLlm

Arguments

aiAgentLlmUpdate.input ● AiAgentLlmUpdateInput! non-null input agent-control-tower

Type

AiAgentLlm object agent-control-tower

On this Page