mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
feat: bot inbox (#77)
* feat: bot inbox * feat: unified header * fix: missing tool_call usage * feat: add group name in header
This commit is contained in:
+8
-1
@@ -75,4 +75,11 @@ export const StdioMCPConnectionModel = z.object({
|
||||
cwd: z.string().optional(),
|
||||
})
|
||||
|
||||
export const MCPConnectionModel = z.union([HTTPMCPConnectionModel, SSEMCPConnectionModel, StdioMCPConnectionModel])
|
||||
export const MCPConnectionModel = z.union([HTTPMCPConnectionModel, SSEMCPConnectionModel, StdioMCPConnectionModel])
|
||||
|
||||
export const InboxItemModel = z.object({
|
||||
id: z.string(),
|
||||
source: z.string(),
|
||||
content: z.record(z.string(), z.unknown()).default({}),
|
||||
createdAt: z.string(),
|
||||
})
|
||||
Reference in New Issue
Block a user