mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[bug] Use 127.0.0.1 instead of localhost to resolve Node.js request issues; For prev commit
This commit is contained in:
@ -35,7 +35,7 @@
|
|||||||
class Provider extends AI.Provider {
|
class Provider extends AI.Provider {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
super("GPT4All", "http://localhost:4891", "", "v1");
|
super("GPT4All", "http://127.0.0.1:4891", "", "v1");
|
||||||
}
|
}
|
||||||
|
|
||||||
getRequestBodyOptions() {
|
getRequestBodyOptions() {
|
||||||
|
|||||||
@ -35,7 +35,7 @@
|
|||||||
class Provider extends AI.Provider {
|
class Provider extends AI.Provider {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
super("LM Studio", "http://localhost:1234", "", "v1");
|
super("LM Studio", "http://127.0.0.1:1234", "", "v1");
|
||||||
}
|
}
|
||||||
|
|
||||||
getImageGeneration(message, model) {
|
getImageGeneration(message, model) {
|
||||||
|
|||||||
Reference in New Issue
Block a user