mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-22 22:02:51 +08:00
Update test_toolcall.py
Add openai version notes Former-commit-id: 4081c88723391bfc0e229b2d1b69ac7d890eb1f9
This commit is contained in:
parent
d296e56fe9
commit
cb1a7e5b6b
@ -3,7 +3,7 @@ import os
|
||||
from typing import Sequence
|
||||
|
||||
from openai import OpenAI
|
||||
|
||||
# pip install openai >= 1.3.0
|
||||
|
||||
os.environ["OPENAI_BASE_URL"] = "http://192.168.0.1:8000/v1"
|
||||
os.environ["OPENAI_API_KEY"] = "0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user