File size: 452 Bytes
20b15f3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from typing import Literal

from pydantic import BaseModel


class IntentStartRequest(BaseModel):
    user_query: str


class IntentStartResponse(BaseModel):
    thread_id: str
    polished_research_intent: str
    instruction: str


class IntentResumeRequest(BaseModel):
    thread_id: str
    edited_intent: str


class IntentResumeResponse(BaseModel):
    thread_id: str
    human_verified_intent: str
    job_id: str
    status: Literal["running"]