@copilotkit/runtime-client-gql
Version:
<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />
25 lines (22 loc) • 465 B
text/typescript
import { graphql } from "../@generated/gql";
export const getAvailableAgentsQuery = graphql(/** GraphQL **/ `
query availableAgents {
availableAgents {
agents {
name
id
description
}
}
}
`);
export const loadAgentStateQuery = graphql(/** GraphQL **/ `
query loadAgentState($data: LoadAgentStateInput!) {
loadAgentState(data: $data) {
threadId
threadExists
state
messages
}
}
`);