Update test_toolcall.py
This commit is contained in:
parent
d4994235f0
commit
b5007afb19
|
@ -5,6 +5,7 @@ from typing import Sequence
|
||||||
from openai import OpenAI
|
from openai import OpenAI
|
||||||
from transformers.utils.versions import require_version
|
from transformers.utils.versions import require_version
|
||||||
|
|
||||||
|
|
||||||
os.environ["OPENAI_BASE_URL"] = "http://192.168.0.1:8000/v1"
|
os.environ["OPENAI_BASE_URL"] = "http://192.168.0.1:8000/v1"
|
||||||
os.environ["OPENAI_API_KEY"] = "0"
|
os.environ["OPENAI_API_KEY"] = "0"
|
||||||
require_version("openai>=1.5.0", "To fix: pip install openai>=1.5.0")
|
require_version("openai>=1.5.0", "To fix: pip install openai>=1.5.0")
|
||||||
|
|
Loading…
Reference in New Issue