Conversation
…pdate shell exec code to prevent stdin behaviour causing agent to freeze.
- action executor runs abstracted venv and subprocesses
Update create and run python instructure to prevent system exit and u…
…eturn-json Refactor actions to use output JSON responses
…ernal-for-actions Set action execution modes to internal
- Created action loader for py files - Create singleton registry for actions - Create action tests file
- fix code export - database only loads py files
- Created action framework
- add execution mode to actions
- code ravamp - code cleanup
…arAgent into feature/context-folding Merge
Feature/context folding
Reasoning injection
…ss as default action.
Custom agent/dog agent
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| execution_mode = getattr(action, "execution_mode", "sandboxed") | ||
| logger.debug(f"[EXECTION CODE] {action.code}") | ||
|
|
||
| if execution_mode == "internal": | ||
| result = _atomic_action_internal(action.code, input_data) |
There was a problem hiding this comment.
Internal action path clashes with asyncio.run usage
Internal actions now run inline on the already-running event loop (core/action/action_executor.py internal branch), so any action that calls asyncio.run(...) will raise RuntimeError: asyncio.run() cannot be called from a running event loop instead of executing. Several default tools do this (e.g., core/data/action/google search.py:106-110), meaning common actions fail immediately after this change. Offload internal actions to a separate thread/process or execute their coroutines without asyncio.run to avoid breaking these tools.
Useful? React with 👍 / 👎.
v0.0.4