Private
Public Access
refactor(ai_client): rename send_result to send in 5 src/ call sites
Renames 10 references across app_controller, conductor_tech_lead, mcp_client (docstring example), multi_agent_conductor, orchestrator_pm. 5 call sites in ai_client.send_result(...) -> ai_client.send(...) 3 print strings mentioning send_result 1 docstring comment (conductor_tech_lead) 1 docstring example (mcp_client) 'src.ai_client.send_result' -> 'src.ai_client.send' Test suite state: still red, but all src/-level call sites are now renamed. Remaining failures are in test files (mocks and patches that still reference send_result). Refs: conductor/tracks/send_result_to_send_20260616/
This commit is contained in:
@@ -5,7 +5,7 @@ This module implements the Tier 2 (Tech Lead) function for generating implementa
|
||||
It uses the LLM to analyze the track requirements and produce structured ticket definitions.
|
||||
|
||||
Architecture:
|
||||
- Uses ai_client.send_result() for LLM communication
|
||||
- Uses ai_client.send() for LLM communication
|
||||
- Uses mma_prompts.PROMPTS["tier2_sprint_planning"] for system prompt
|
||||
- Returns JSON array of ticket definitions
|
||||
|
||||
@@ -65,14 +65,14 @@ def generate_tickets(track_brief: str, module_skeletons: str) -> list[dict[str,
|
||||
for _ in range(3):
|
||||
try:
|
||||
# 3. Call Tier 2 Model
|
||||
result = ai_client.send_result(
|
||||
result = ai_client.send(
|
||||
md_content = "",
|
||||
user_message = user_message
|
||||
)
|
||||
if not result.ok:
|
||||
_err = result.errors[0] if result.errors else None
|
||||
_msg = _err.ui_message() if _err else "unknown error"
|
||||
print(f"[conductor_tech_lead] send_result failed: {_msg}")
|
||||
print(f"[conductor_tech_lead] send failed: {_msg}")
|
||||
return None
|
||||
response = result.data
|
||||
# 4. Parse JSON Output
|
||||
|
||||
Reference in New Issue
Block a user