This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 950 B View raw
1"""Tangled issue investigation agent.""" 2 3__all__ = [ 4 "AgentState", 5 "AnthropicCacheSettings", 6 "IssueSessionContext", 7 "build_agent_graph", 8 "build_issue_agent_graph", 9 "create_anthropic_model", 10 "load_issue_context", 11 "run_agent", 12 "run_issue_agent", 13] 14 15 16def __getattr__(name: str): 17 if name in { 18 "AgentState", 19 "AnthropicCacheSettings", 20 "build_agent_graph", 21 "build_issue_agent_graph", 22 "create_anthropic_model", 23 "run_agent", 24 "run_issue_agent", 25 }: 26 from agent import agent as _agent 27 28 return getattr(_agent, name) 29 if name == "IssueSessionContext": 30 from agent.context import IssueSessionContext 31 32 return IssueSessionContext 33 if name == "load_issue_context": 34 from agent.load_issue import load_issue_context 35 36 return load_issue_context 37 raise AttributeError(f"module {__name__!r} has no attribute {name!r}")