mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 12:59:07 +00:00
feat(openai): officially support verbosity
(#32470)
This commit is contained in:
@@ -1200,7 +1200,8 @@ def test_verbosity_parameter_payload() -> None:
|
||||
messages = [{"role": "user", "content": "hello"}]
|
||||
payload = llm._get_request_payload(messages, stop=None)
|
||||
|
||||
assert payload["verbosity"] == "high"
|
||||
assert payload["text"]["verbosity"] == "high"
|
||||
assert payload["text"]["format"]["type"] == "text"
|
||||
|
||||
|
||||
def test_structured_output_old_model() -> None:
|
||||
|
Reference in New Issue
Block a user