MCPcopy Index your code
hub / github.com/HisMax/RedInk / json

Method json

tests/errors_test.py:148–149  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

146 text = '{"choices":[{"message":{"content":"红墨连接测试成功"}}]}'
147
148 def json(self):
149 return {"choices": [{"message": {"content": "红墨连接测试成功"}}]}
150
151 def fake_post(url, headers=None, json=None, timeout=None):
152 captured["url"] = url

Callers 4

readErrorResponseFunction · 0.45
generate_textMethod · 0.45
_post_jsonMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected