7 Commits (8310e255131635475d8c591e4bfa2071a29b296f)

Author SHA1 Message Date
Yang An 555d815ec0
Update openai_api.py 1 year ago
Yang An 2252578da0
Update openai_api.py 1 year ago
Artificial d2fc7c95db
Update openai_api.py
解决调用api的bug:response, _ = model.chat_stream(tokenizer, query, history=history)
ValueError: too many values to unpack (expected 2)

用api的时候建议把stream改成false
1 year ago
Junyang Lin 31a496fd24
Update openai_api.py 1 year ago
Junyang Lin c84d2f685a
add exception 1 year ago
Junyang Lin dfced1aec0
Update openai_api.py 1 year ago
hanpeng 3006ef34e9 Add openai_api 1 year ago