agentram 0.1.37 → 0.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agentram/cli.py +7 -0
- package/package.json +1 -1
- package/pyproject.toml +1 -1
package/agentram/cli.py
CHANGED
|
@@ -1416,6 +1416,9 @@ def build_main_loop_prompt(
|
|
|
1416
1416
|
"No hard step limit. Continue until user goal is complete or blocked.",
|
|
1417
1417
|
"Do not stop early if unfinished work remains. Do not invent completion.",
|
|
1418
1418
|
"If complete, include DONE. If blocked, include BLOCKER and reason.",
|
|
1419
|
+
"Main agent may use normal coding-agent tools, including git read operations such as status/diff when useful.",
|
|
1420
|
+
"Before destructive git actions or commits, ask user approval explicitly.",
|
|
1421
|
+
"If file changes require user approval, request approval before editing.",
|
|
1419
1422
|
"User request:",
|
|
1420
1423
|
prompt,
|
|
1421
1424
|
"Supervisor / execution plan:",
|
|
@@ -1720,6 +1723,10 @@ def model_error_hint(message: str) -> str:
|
|
|
1720
1723
|
return message + " | Fix: start your OpenAI-compatible server at base_url, or change --base-url."
|
|
1721
1724
|
if "http 403" in lower or "403" in lower and "groq" in lower:
|
|
1722
1725
|
return message + " | Fix: Groq rejected auth/model. Rotate/check API key, ensure provider=openai-compatible, base_url=https://api.groq.com/openai/v1, and use a Groq-supported model name."
|
|
1726
|
+
if "http 500" in lower and "fetch failed" in lower:
|
|
1727
|
+
return message + " | Fix: local OpenAI-compatible proxy failed to fetch upstream model. Check proxy logs, upstream API key, provider route, model name, and network. AgentRAM request reached your local server."
|
|
1728
|
+
if "http 500" in lower:
|
|
1729
|
+
return message + " | Fix: local/provider server crashed or failed upstream. Check server logs, model route, API key, and provider health."
|
|
1723
1730
|
if "http 404" in lower or "404: not found" in lower:
|
|
1724
1731
|
return message + " | Fix: verify base_url includes /v1, provider supports /chat/completions, and model name exists."
|
|
1725
1732
|
if "http 400" in lower and "not supported" in lower:
|
package/package.json
CHANGED