mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 23:58:11 +08:00
Update test_toolcall.py
Add openai version notes Former-commit-id: 9ea4ab214e64f73ec902e76b82fc42419571fd66
This commit is contained in:
parent
a3e3ea9846
commit
cb39a3f1c4
@ -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