Remove the markdown-to-text dependency, update the package.json file, enhance internationalization support for chat history view components, optimize user interaction prompts, and improve both user experience and code readability.

This commit is contained in:
duanfuxiang
2025-07-07 18:09:38 +08:00
parent bff3e05d93
commit 306817741f
10 changed files with 169 additions and 73 deletions

View File

@@ -174,7 +174,7 @@ async function loadTransformers(): Promise<void> {
globalTransformers.transformers = {
pipelineFactory,
AutoTokenizer,
env
env: env as unknown as TransformersEnv
};
transformersLoaded = true;