feat: add better provider support, icons, regen, and a lot more
This commit is contained in:
@@ -20,6 +20,22 @@ export default defineNuxtConfig({
|
||||
'LLM, AI, Chat, Assistant, Agent, LLMs, OpenAI, GPT, GPT-3, GPT-4, Claude, ChatGPT, Whisper, Bard, Bing, Anthropic, DeepAI, Dolly, StableLM, Vicuna, Llama, Alpaca, ChatGLM, MOSS, MPT, Codex, Codex2, Codex 3, Codex 4, Falcon, Flan-T5, T5, Llama2, LLaMA, LLaMA2, StableLM, OpenAssistant, OpenChat',
|
||||
},
|
||||
],
|
||||
link: [
|
||||
{
|
||||
rel: 'stylesheet',
|
||||
href: 'https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css',
|
||||
}
|
||||
],
|
||||
// script: [
|
||||
// {
|
||||
// src: 'https://cdn.jsdelivr.net/npm/eruda',
|
||||
// },
|
||||
// {
|
||||
// innerHTML: `
|
||||
// eruda.init();
|
||||
// `,
|
||||
// }
|
||||
// ]
|
||||
},
|
||||
},
|
||||
|
||||
@@ -27,6 +43,26 @@ export default defineNuxtConfig({
|
||||
server: {
|
||||
allowedHosts: true,
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
"shiki/themes/vitesse-dark.mjs", "shiki/themes/vitesse-light.mjs", "shiki/themes/min-light.mjs", "shiki/themes/min-dark.mjs", "shiki/langs/js.mjs", "shiki/langs/jsx.mjs", "shiki/langs/json.mjs", "shiki/langs/ts.mjs", "shiki/langs/tsx.mjs", "shiki/langs/vue.mjs", "shiki/langs/css.mjs", "shiki/langs/html.mjs", "shiki/langs/bash.mjs", "shiki/langs/md.mjs", "shiki/langs/mdc.mjs", "shiki/langs/yaml.mjs", "shiki/langs/py.mjs", "shiki/langs/typescript.mjs", "shiki/langs/javascript.mjs",
|
||||
'@vue/devtools-core',
|
||||
'@vue/devtools-kit',
|
||||
'@nuxt/hints/runtime/hydration/component',
|
||||
'vue-virtual-scroller',
|
||||
'shiki',
|
||||
'better-auth/vue',
|
||||
'big.js',
|
||||
'unified',
|
||||
'remark-gfm',
|
||||
'remark-parse',
|
||||
'remark-rehype',
|
||||
'remark-math',
|
||||
'rehype-katex',
|
||||
'@triplit/client',
|
||||
'@triplit/db'
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
// bizarely, when I enable this, it adds an 8 second or so lag when I navigate to a different page occasionally
|
||||
|
||||
Reference in New Issue
Block a user