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:
Magicbook1108
2026-03-10 13:44:17 +08:00
committed by GitHub
parent 7c92f51133
commit 7143954b48
2 changed files with 6 additions and 2 deletions

View File

@@ -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):