mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-18 13:47:21 +08:00
Fix: chats_openai in none stream condition (#13495)
### What problem does this PR solve? Fix: chats_openai in none stream condition #13453 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -762,7 +762,7 @@ def test_openai_nonstream_branch_unit(monkeypatch):
|
||||
|
||||
res = _run(inspect.unwrap(module.chat_completion_openai_like)("tenant-1", "chat-1"))
|
||||
assert res["choices"][0]["message"]["content"] == "world"
|
||||
|
||||
|
||||
|
||||
@pytest.mark.p2
|
||||
def test_agents_openai_compatibility_unit(monkeypatch):
|
||||
|
||||
Reference in New Issue
Block a user