@copilotkit/runtime
Version:
<div align="center"> <a href="https://copilotkit.ai" target="_blank"> <img src="https://github.com/copilotkit/copilotkit/raw/main/assets/banner.png" alt="CopilotKit Logo"> </a>
56 lines (42 loc) • 1.75 kB
text/typescript
import { Field, InputType } from "type-graphql";
import { MessageInput } from "./message.input";
import { FrontendInput } from "./frontend.input";
import { CloudInput } from "./cloud.input";
import { CopilotRequestType } from "../types/enums";
import { ForwardedParametersInput } from "./forwarded-parameters.input";
import { AgentSessionInput } from "./agent-session.input";
import { AgentStateInput } from "./agent-state.input";
import { ExtensionsInput } from "./extensions.input";
import { MetaEventInput } from "./meta-event.input";
()
export class GenerateCopilotResponseMetadataInput {
(() => CopilotRequestType, { nullable: true })
requestType: CopilotRequestType;
}
()
export class GenerateCopilotResponseInput {
(() => GenerateCopilotResponseMetadataInput, { nullable: false })
metadata: GenerateCopilotResponseMetadataInput;
(() => String, { nullable: true })
threadId?: string;
(() => String, { nullable: true })
runId?: string;
(() => [MessageInput])
messages: MessageInput[];
(() => FrontendInput)
frontend: FrontendInput;
(() => CloudInput, { nullable: true })
cloud?: CloudInput;
(() => ForwardedParametersInput, { nullable: true })
forwardedParameters?: ForwardedParametersInput;
(() => AgentSessionInput, { nullable: true })
agentSession?: AgentSessionInput;
(() => AgentStateInput, { nullable: true })
agentState?: AgentStateInput;
(() => [AgentStateInput], { nullable: true })
agentStates?: AgentStateInput[];
(() => ExtensionsInput, { nullable: true })
extensions?: ExtensionsInput;
(() => [MetaEventInput], { nullable: true })
metaEvents?: MetaEventInput[];
}