MCPcopy Create free account
hub / github.com/BerriAI/litellm / marked

Function marked

tests/code_coverage_tests/test_provider_cache.py:75–78  ·  view source on GitHub ↗

One request body shaped like the suite's own: a fixed prompt salted with a 12-lowercase-hex ``unique_marker()`` token, fresh on every run.

(marker: str)

Source from the content-addressed store, hash-verified

73
74
75def marked(marker: str) -> bytes:
76 """One request body shaped like the suite's own: a fixed prompt salted with a
77 12-lowercase-hex ``unique_marker()`` token, fresh on every run."""
78 return b'{"model":"test","messages":[{"role":"user","content":"hello %s"}]}' % marker.encode()
79
80
81MARKED: Final = marked("0a1b2c3d4e5f")

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected