mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-19 23:14:25 +01:00
misc: fix typo in benchmark
This commit is contained in:
2
.github/workflows/benchmark.yml
vendored
2
.github/workflows/benchmark.yml
vendored
@@ -26,6 +26,6 @@ jobs:
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
- name: benchmark
|
- name: benchmark
|
||||||
run: |
|
run: |
|
||||||
python benchmark/benchmark_entrepeneur_gpt_with_undecisive_user.py
|
python benchmark/benchmark_entrepreneur_gpt_with_undecisive_user.py
|
||||||
env:
|
env:
|
||||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import subprocess
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
def benchmark_entrepeneur_gpt_with_difficult_user():
|
def benchmark_entrepreneur_gpt_with_difficult_user():
|
||||||
# Test case to check if the write_file command can successfully write 'Hello World' to a file
|
# Test case to check if the write_file command can successfully write 'Hello World' to a file
|
||||||
# named 'hello_world.txt'.
|
# named 'hello_world.txt'.
|
||||||
|
|
||||||
@@ -102,4 +102,4 @@ Not what I need."""
|
|||||||
|
|
||||||
# Run the test case.
|
# Run the test case.
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
benchmark_entrepeneur_gpt_with_difficult_user()
|
benchmark_entrepreneur_gpt_with_difficult_user()
|
||||||
Reference in New Issue
Block a user