From b762dccf17c82e0f40f69c89af63eef739af4cb3 Mon Sep 17 00:00:00 2001 From: xiangsx <1984871009@qq.com> Date: Sun, 15 Oct 2023 22:08:58 +0800 Subject: [PATCH] feat: update --- docker-compose.yaml | 2 +- run/config.json | 30 ++++++++++++++++++++++++++++-- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 6027a90..e6306ff 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -59,7 +59,7 @@ services: gpt4free: # 非星球用户请使用此镜像 xiangsx/gpt4free-ts:latest - image: gpt4freets/gpt4free-ts:v0.0.138-private + image: gpt4freets/gpt4free-ts:v0.0.142-private ports: - "29001:3000" restart: always diff --git a/run/config.json b/run/config.json index b419804..8974d55 100644 --- a/run/config.json +++ b/run/config.json @@ -1,6 +1,13 @@ { + "poevip": { + "size": 0, + "serial": 1, + "pb_list": [ + "xxxxxxx" + ] + }, "poeauto": { - "size": 1, + "size": 0, "mail_type": "smail-pro" }, "merlin": { @@ -22,7 +29,7 @@ "size": 0 }, "sincode": { - "size": 1, + "size": 0, "concurrency": 1, "accounts": [ { @@ -31,7 +38,26 @@ } ] }, + "openai": { + "token_limit": { + "gpt-3.5-turbo": 2500, + "gpt-3.5-turbo-16k": 10000, + "gpt-4": 8000 + } + }, "site_map": { + "gpt-4-32k": [ + { + "site": "openai", + "api_key": "sk-xxxxxxxxxxxxxxxx", + "priority": 10, + "proxy": true, + "base_url": "http://base_url:port", + "model_map": { + "gpt-4-32k": "gpt-4" + } + } + ], "gpt-4": [ { "site": "merlin",