Download packages/agent-core-v2/src/agent/interaction/question.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 856 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/agent/interaction/question.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/agent/interaction/question.ts
-
curl -L -o question.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/agent/interaction/question.ts
856 Bytes
| export interface QuestionOption { | |
| readonly label: string; | |
| readonly description?: string; | |
| } | |
| export interface QuestionItem { | |
| readonly question: string; | |
| readonly header?: string; | |
| readonly body?: string; | |
| readonly options: readonly QuestionOption[]; | |
| readonly multiSelect?: boolean; | |
| readonly otherLabel?: string; | |
| readonly otherDescription?: string; | |
| } | |
| export type QuestionAnswerMethod = 'enter' | 'space' | 'number_key'; | |
| export type QuestionAnswers = Record<string, string | true>; | |
| export interface QuestionResponse { | |
| readonly answers: QuestionAnswers; | |
| readonly method?: QuestionAnswerMethod; | |
| } | |
| export type QuestionResult = null | QuestionAnswers | QuestionResponse; | |
| export interface QuestionRequest { | |
| readonly id?: string; | |
| readonly turnId?: number; | |
| readonly toolCallId?: string; | |
| readonly questions: readonly QuestionItem[]; | |
| } | |