Merge branch 'main' of github.com:ZhiShuYun/ChatFrontend

This commit is contained in:
AceDataCloud committed 2023-04-19 01:40:04 +08:00
commit cf22897a6c
1 file changed
+1 -1
+1 -1
View File
@@ -324,7 +324,7 @@ export default defineComponent({
accept: this.setting?.stream ? 'application/x-ndjson' : 'application/json',
'content-type': 'application/json'
},
baseURL: this.$store.getters.endpoint || ENDPOINT,
baseURL: this.setting.endpoint || ENDPOINT,
signal: this.canceler.signal,
// only enable for stream mode
...(this.setting?.stream