UNPKG

@copilotkit/runtime

Version:

<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />

1 lines 1.03 kB
{"version":3,"file":"extensions-response.type.cjs","names":[],"sources":["../../../src/graphql/types/extensions-response.type.ts"],"sourcesContent":["import { Field, ObjectType } from \"type-graphql\";\n\n/**\n * The extensions response is used to receive additional information from the copilot runtime, specific to a\n * service adapter or agent framework.\n *\n * Next time a request to the runtime is made, the extensions response will be included in the request as input.\n */\n\n@ObjectType()\nexport class OpenAIApiAssistantAPIResponse {\n @Field(() => String, { nullable: true })\n runId?: string;\n\n @Field(() => String, { nullable: true })\n threadId?: string;\n}\n\n@ObjectType()\nexport class ExtensionsResponse {\n @Field(() => OpenAIApiAssistantAPIResponse, { nullable: true })\n openaiAssistantAPI?: OpenAIApiAssistantAPIResponse;\n}\n"],"mappings":";;;;;;;;AAUO,0CAAM,8BAA8B;2DAC5B,QAAQ,EAAE,UAAU,MAAM,CAAC;2DAG3B,QAAQ,EAAE,UAAU,MAAM,CAAC;2FAL7B;AAUN,+BAAM,mBAAmB;2DACjB,+BAA+B,EAAE,UAAU,MAAM,CAAC;gFAFpD"}