MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / test_very_long_response

Method test_very_long_response

tests/models/test_openai_api.py:551–555  ·  view source on GitHub ↗
(self, api)

Source from the content-addressed store, hash-verified

549 assert "你好世界" in result
550
551 def test_very_long_response(self, api):
552 long_content = "A" * 100000
553 data = {"choices": [{"message": {"content": long_content}}]}
554 result = api._parse_openai_response(data)
555 assert len(result) == 100000
556
557 def test_reasoning_content_stripped(self, api):
558 data = {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected