mirror of
https://github.com/ArthurDanjou/artagents.git
synced 2026-01-14 12:14:40 +01:00
- Introduced new API endpoints for chat management including posting and retrieving chat messages. - Implemented file upload and deletion functionalities for chat and other files. - Added utility functions for streaming text and loading chat data. - Created TypeScript types for models and agents used in the application. - Configured TypeScript settings for server and project. - Added favicon and workspace configuration for pnpm.
41 lines
575 B
TypeScript
41 lines
575 B
TypeScript
export default defineNuxtConfig({
|
|
modules: [
|
|
'@nuxthub/core',
|
|
'@nuxt/eslint',
|
|
'@nuxt/ui',
|
|
'@nuxt/icon',
|
|
'@nuxtjs/mdc'
|
|
],
|
|
|
|
devtools: { enabled: true },
|
|
|
|
css: ['~/assets/css/main.css'],
|
|
|
|
runtimeConfig: {
|
|
cloudflare: {
|
|
email: '',
|
|
apiKey: '',
|
|
accountId: ''
|
|
}
|
|
},
|
|
|
|
future: { compatibilityVersion: 4 },
|
|
|
|
compatibilityDate: '2025-03-01',
|
|
|
|
hub: {
|
|
ai: true,
|
|
cache: true,
|
|
blob: true
|
|
},
|
|
|
|
eslint: {
|
|
config: {
|
|
stylistic: {
|
|
quotes: 'single',
|
|
commaDangle: 'never'
|
|
}
|
|
}
|
|
}
|
|
})
|