Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRaiser/PaperFlow
/ FakeClient
Class
FakeClient
tests/test_llm_parser.py:30–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
captured = {}
29
30
class
FakeClient:
31
def
__init__(self, **kwargs):
32
captured.update(kwargs)
33
34
monkeypatch.delenv(
"OPENAI_API_KEY"
, raising=False)
35
monkeypatch.delenv(
"OPENAI_BASE_URL"
, raising=False)
Callers
3
test_parse_intent_with_llm_disables_after_auth_error
Function · 0.70
test_openai_json_parser_retries_high_after_max_reasoning_effort_fails
Function · 0.70
test_generate_json_with_hf_api_falls_back_to_text_generation
Function · 0.70
Calls
1
FakeChat
Class · 0.70
Tested by
3
test_parse_intent_with_llm_disables_after_auth_error
Function · 0.56
test_openai_json_parser_retries_high_after_max_reasoning_effort_fails
Function · 0.56
test_generate_json_with_hf_api_falls_back_to_text_generation
Function · 0.56