feat(conductor): Restore mma_implementation track
This commit is contained in:
@@ -101,6 +101,7 @@ _ANTHROPIC_CHUNK_SIZE = 120_000
|
||||
|
||||
_SYSTEM_PROMPT = (
|
||||
"You are a helpful coding assistant with access to a PowerShell tool and MCP tools (file access: read_file, list_directory, search_files, get_file_summary, web access: web_search, fetch_url). "
|
||||
"When calling file/directory tools, always use the 'path' parameter for the target path. "
|
||||
"When asked to create or edit files, prefer targeted edits over full rewrites. "
|
||||
"Always explain what you are doing before invoking the tool.\n\n"
|
||||
"When writing or rewriting large files (especially those containing quotes, backticks, or special characters), "
|
||||
@@ -982,6 +983,9 @@ def _send_gemini_cli(md_content: str, user_message: str, base_dir: str,
|
||||
|
||||
_append_comms("IN", "tool_result", {"name": name, "id": call_id, "output": out})
|
||||
events.emit("tool_execution", payload={"status": "completed", "tool": name, "result": out, "round": r_idx})
|
||||
|
||||
# CRITICAL: Update payload for the next round
|
||||
payload = json.dumps(tool_results_for_cli)
|
||||
|
||||
if _cumulative_tool_bytes > _MAX_TOOL_OUTPUT_BYTES:
|
||||
_append_comms("OUT", "request", {"message": f"[TOOL OUTPUT BUDGET EXCEEDED: {_cumulative_tool_bytes} bytes]"})
|
||||
|
||||
Reference in New Issue
Block a user