chore: render katex in markdown

This commit is contained in:
jialin
2025-02-18 19:51:22 +08:00
parent ea34431cf7
commit 4c77151877
26 changed files with 693 additions and 208 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import { map } from 'lodash';
import { CREAT_IMAGE_API } from '../apis';
import { MessageItem } from './types';
export const Roles = {
@@ -121,7 +122,7 @@ export const OpenAIViewCode = {
logcommand: 'data[0].b64_json'
},
imageAdvanced: {
api: '/v1-openai/images/generations',
api: `${CREAT_IMAGE_API}`,
clientType: 'images.generate',
logcommand: {
python: "json()['data'][0]['b64_json']",