mirror of
https://github.com/vegu-ai/talemate.git
synced 2025-09-04 11:29:10 +00:00
* add gpt-4o add gpt-4o-2024-05-13 * fix koboldcpp client jiggle arguments * kcpp api url default port 5001 * fix repetition breaking issues with kcpp client * use tokencount endpoint if available * auto configure visual agent with koboldcpp * env var config for frontend serve * its not clear that gpt-4o is better than turbo, dont default to it yet * 0.25.3 * handle kcpp being down during a1111 setup check * only check a1111 setup if client is connected * fix kcpp a1111 setup check * fix issue where saving a new scene could cause recent config changes to revert
35 lines
861 B
JavaScript
35 lines
861 B
JavaScript
const { defineConfig } = require('@vue/cli-service')
|
|
|
|
const ALLOWED_HOSTS = process.env.ALLOWED_HOSTS || "all"
|
|
const VUE_APP_TALEMATE_BACKEND_WEBSOCKET_URL = process.env.VUE_APP_TALEMATE_BACKEND_WEBSOCKET_URL || null
|
|
|
|
// if ALLOWED_HOSTS is set and has , then split it
|
|
if (ALLOWED_HOSTS !== "all") {
|
|
ALLOWED_HOSTS = ALLOWED_HOSTS.split(",")
|
|
}
|
|
|
|
console.log("ALLOWED_HOSTS", ALLOWED_HOSTS)
|
|
console.log("VUE_APP_TALEMATE_BACKEND_WEBSOCKET_URL", VUE_APP_TALEMATE_BACKEND_WEBSOCKET_URL)
|
|
|
|
module.exports = defineConfig({
|
|
transpileDependencies: true,
|
|
|
|
pluginOptions: {
|
|
vuetify: {
|
|
// https://github.com/vuetifyjs/vuetify-loader/tree/next/packages/vuetify-loader
|
|
}
|
|
},
|
|
|
|
devServer: {
|
|
allowedHosts: ALLOWED_HOSTS,
|
|
client: {
|
|
overlay: {
|
|
warnings: false,
|
|
errors: false,
|
|
},
|
|
|
|
// or
|
|
overlay: false,
|
|
}
|
|
}
|
|
})
|