u
This commit is contained in:
@@ -852,6 +852,66 @@
|
||||
* transaction_text:
|
||||
* type: string
|
||||
* description: Transaction memo / details
|
||||
* ModelConversation:
|
||||
* type: object
|
||||
* required: [id, companyuser_id, provider, model, created_at, updated_at, state]
|
||||
* properties:
|
||||
* id:
|
||||
* type: integer
|
||||
* companyuser_id:
|
||||
* type: integer
|
||||
* provider:
|
||||
* type: string
|
||||
* model:
|
||||
* type: string
|
||||
* created_at:
|
||||
* type: string
|
||||
* updated_at:
|
||||
* type: string
|
||||
* state:
|
||||
* type: string
|
||||
* enum: [idle, busy]
|
||||
* description: Messages can only be posted while `idle`
|
||||
* ModelConversationCreateInput:
|
||||
* type: object
|
||||
* required: [provider, model]
|
||||
* properties:
|
||||
* provider:
|
||||
* type: string
|
||||
* model:
|
||||
* type: string
|
||||
* ModelMessage:
|
||||
* type: object
|
||||
* required: [id, conversation_id, created_at, role, message]
|
||||
* properties:
|
||||
* id:
|
||||
* type: integer
|
||||
* conversation_id:
|
||||
* type: integer
|
||||
* created_at:
|
||||
* type: string
|
||||
* role:
|
||||
* type: string
|
||||
* enum: [system, user, assistant, tool, reasoning]
|
||||
* message:
|
||||
* type: string
|
||||
* ModelMessageCreateInput:
|
||||
* type: object
|
||||
* properties:
|
||||
* message:
|
||||
* type: string
|
||||
* description: User message text or fallback content
|
||||
* role:
|
||||
* type: string
|
||||
* enum: [user, tool]
|
||||
* description: Message role ('user' or 'tool')
|
||||
* tool_call_id:
|
||||
* type: string
|
||||
* description: Target tool call ID when responding to a tool like ask_user
|
||||
* content:
|
||||
* description: Tool response content payload
|
||||
* answer:
|
||||
* description: Shorthand answer for ask_user response
|
||||
* Printer:
|
||||
* type: object
|
||||
* required: [id, company_id, address, type, sort]
|
||||
|
||||
Reference in New Issue
Block a user