From 9b90cdbd84870f20cdafd4fcf9cdc1ee19df4ee1 Mon Sep 17 00:00:00 2001 From: yitong <2969413251@qq.com> Date: Wed, 25 Oct 2023 19:25:23 +0800 Subject: [PATCH] ci: fix ci errors caused by commits before --- .github/workflows/test.yml | 4 ++-- agentverse/llms/openai.py | 1 + requirements.txt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e593f0609..0940c7ead 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,10 +21,10 @@ jobs: with: access_token: ${{ github.token }} - uses: actions/checkout@v3 - - name: Set up Python 3.9 + - name: Set up Python 3.10.13 uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: 3.10.13 - name: Upgrade pip run: | python -m pip install --upgrade pip setuptools wheel diff --git a/agentverse/llms/openai.py b/agentverse/llms/openai.py index 3f96d3f3e..fb2438e10 100644 --- a/agentverse/llms/openai.py +++ b/agentverse/llms/openai.py @@ -124,6 +124,7 @@ def send_token_limit(cls, model: str) -> int: "gpt-35-turbo": 8192, "gpt-4": 8192, "llama-2-7b-chat-hf": 4096, + "gpt-3.5-turbo-16k": 16384, } return send_token_limit_dict[model] diff --git a/requirements.txt b/requirements.txt index 133f6f8e0..adaa4834c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,4 +18,4 @@ rapidfuzz spacy colorama==0.4.6 fschat[model_worker,webui] -tiktoken==0.3.3 +tiktoken==0.5.1