add markdown renderer switch

This commit is contained in:
josc146
2024-02-04 20:21:42 +08:00
parent ee5cca3ff3
commit 4added7390
6 changed files with 115 additions and 25 deletions

View File

@@ -34,4 +34,6 @@ export type Attachment = {
size: number;
content: string;
}
export type ChatParams = Omit<ApiParameters, 'apiPort'>
export type ChatParams = Omit<ApiParameters, 'apiPort'> & {
markdown: boolean
}