Skip to content

Commit

Permalink
ci: fix ci errors caused by commits before
Browse files Browse the repository at this point in the history
  • Loading branch information
minleminzui committed Oct 25, 2023
1 parent 3aa56d4 commit fe00976
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
os: [macos-latest, windows-latest, ubuntu-20.04]
steps:
- name: Cancel previous run
uses: styfle/cancel-workflow-action@0.11.0
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
Expand Down
1 change: 1 addition & 0 deletions agentverse/llms/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ rapidfuzz
spacy
colorama==0.4.6
fschat[model_worker,webui]
tiktoken==0.3.3
tiktoken==0.5.1

0 comments on commit fe00976

Please sign in to comment.