MCPcopy
hub / github.com/AstrBotDevs/AstrBot / fake_chat_response

Function fake_chat_response

tests/test_api_key_open_api.py:218–224  ·  view source on GitHub ↗
(_chat_service, username: str, post_data: dict)

Source from the content-addressed store, hash-verified

216 )
217
218 async def fake_chat_response(_chat_service, username: str, post_data: dict):
219 return ok(
220 {
221 "session_id": post_data.get("session_id"),
222 "creator": username,
223 }
224 )
225
226 monkeypatch = pytest.MonkeyPatch()
227 monkeypatch.setattr(

Callers

nothing calls this directly

Calls 2

okFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected