diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e593f0609..8e5f9a77f 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 uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: "3.10" - 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