mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-28 11:07:29 +08:00
webui chat: add role avatars and distinct styling for user/agent/exec/system
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export type ChatItem = { role: 'user' | 'assistant'; text: string };
|
||||
export type ChatRole = 'user' | 'assistant' | 'tool' | 'system' | 'exec';
|
||||
export type ChatItem = { role: ChatRole; text: string; label?: string };
|
||||
export type Session = { key: string; title: string };
|
||||
export type CronJob = {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user