From 9919825f568161f75aeb8357c6fb66bff4e9892a Mon Sep 17 00:00:00 2001 From: AceDataCloud Date: Fri, 14 Apr 2023 01:13:25 +0800 Subject: [PATCH] fix endpoint --- src/pages/conversation/Main.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/conversation/Main.vue b/src/pages/conversation/Main.vue index 12084025..85218c81 100644 --- a/src/pages/conversation/Main.vue +++ b/src/pages/conversation/Main.vue @@ -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