diff options
Diffstat (limited to 'makima/frontend/src/lib/api.ts')
| -rw-r--r-- | makima/frontend/src/lib/api.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/makima/frontend/src/lib/api.ts b/makima/frontend/src/lib/api.ts index eb8d908..2657a95 100644 --- a/makima/frontend/src/lib/api.ts +++ b/makima/frontend/src/lib/api.ts @@ -155,11 +155,26 @@ export interface ToolCallInfo { }; } +// User question types for interactive LLM tool +export interface UserQuestion { + id: string; + question: string; + options: string[]; + allowMultiple: boolean; + allowCustom: boolean; +} + +export interface UserAnswer { + id: string; + answers: string[]; +} + export interface ChatResponse { response: string; toolCalls: ToolCallInfo[]; updatedBody: BodyElement[]; updatedSummary: string | null; + pendingQuestions?: UserQuestion[]; } // File API functions |
