feat: add official Codex skill and harden task execution
Install and update artemis-use with task diagnostics and plugin guidance. Preserve cross-device file receipts, review canonical reports, guard stage transitions and reduce small history summaries. Improve exploration lifecycle, request recovery and browser live connections.
This commit is contained in:
1 parent
2328a4df0c
commit
e1ea099592
128 files changed
+4944
-700
No files matched your search
@@ -14,6 +14,7 @@ from PIL import Image
|
||||
|
||||
from artemis.data_engine.context_vars import CURRENT_NODE_NAME, CURRENT_TRACE_ID
|
||||
from artemis.llm.usage import usage_from_message
|
||||
from artemis.llm.stream_guard import ToolArgumentOverflow
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
ACTIVE_ATTEMPT: ContextVar["RequestAttempt | None"] = ContextVar("llm_attempt", default=None)
|
||||
@@ -184,6 +185,8 @@ class RequestAttempt:
|
||||
|
||||
def finish(self, phase, *, response=None, error=None, category=None):
|
||||
if error is not None:
|
||||
if isinstance(error, ToolArgumentOverflow):
|
||||
self.data["stream_guard"] = error.details
|
||||
self.data.update(
|
||||
error=error_text(error, self.data["timeout_seconds"]),
|
||||
error_type=type(error).__name__,
|
||||
|
||||
Reference in new issue
Block a user