agent-zero/helpers
Alessandro 2715fed8f8 test(models): cover Chat Completions reasoning fallback
Cover streaming and complete messages, legacy-field precedence, empty or missing reasoning, and encrypted-reasoning filtering. Document the transport contract.

Validation: transport, Responses architecture, encrypted-reasoning, and refusal suites passed (126 tests); git diff --check passed.
2026-09-30 16:47:56 +02:00
..
AGENTS.md Document connector payload contracts 2026-07-27 10:15:24 +02:00
api.py Support standalone user API and WebUI routes 2026-08-19 12:14:29 +02:00
api.py.dox.md Support standalone user API and WebUI routes 2026-08-19 12:14:29 +02:00
attachment_manager.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
attachment_manager.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
backup.py Exclude Orchestrator runtime data from default backups 2026-09-23 08:28:12 +02:00
backup.py.dox.md Exclude Orchestrator runtime data from default backups 2026-09-23 08:28:12 +02:00
browser.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
browser.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
cache.py refactor: add file system watchdog support for API handlers, extensions, and plugins 2026-03-18 21:07:33 +01:00
cache.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
call_llm.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
call_llm.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
chat_media.py Fix durable screenshot artifacts and Xpra sizing 2026-05-30 17:45:19 +02:00
chat_media.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
cli_tunnel.py Harden Tailscale Funnel remote control 2026-06-01 02:11:58 +02:00
cli_tunnel.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
cloudflare_tunnel._py Add Remote Control tunnel providers 2026-05-28 22:33:29 +02:00
cloudflare_tunnel.py Add Remote Control tunnel providers 2026-05-28 22:33:29 +02:00
cloudflare_tunnel.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
context.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
context.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
context_utils.py Finish scoped Agent Editor profile workflows 2026-08-12 14:34:15 +02:00
context_utils.py.dox.md Finish scoped Agent Editor profile workflows 2026-08-12 14:34:15 +02:00
crypto.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
crypto.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
defer.py Serialize shared event-loop initialization 2026-09-07 09:20:08 +02:00
defer.py.dox.md Serialize shared event-loop initialization 2026-09-07 09:20:08 +02:00
dirty_json.py Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
dirty_json.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
docker.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
docker.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
document_query.py feat(document_query): add liteparse runtime and progressive skill 2026-05-29 12:45:14 +02:00
document_query.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
dotenv.py Fix backup restore allowed origins 2026-08-19 04:26:57 +02:00
dotenv.py.dox.md Fix backup restore allowed origins 2026-08-19 04:26:57 +02:00
duckduckgo_search.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
duckduckgo_search.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
email_client.py refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
email_client.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
ephemeral_images.py Make browser screenshots ephemeral and context scoped 2026-05-22 09:50:47 +02:00
ephemeral_images.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
errors.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
errors.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
extension.py Improve WebUI bundling, manifest and stop command 2026-07-29 19:49:07 +02:00
extension.py.dox.md Improve WebUI bundling, manifest and stop command 2026-07-29 19:49:07 +02:00
extract_tools.py Skip incomplete stream roots during tool extraction 2026-08-27 00:45:25 +02:00
extract_tools.py.dox.md Skip incomplete stream roots during tool extraction 2026-08-27 00:45:25 +02:00
faiss_monkey_patch.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
faiss_monkey_patch.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
fasta2a_client.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
fasta2a_client.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
fasta2a_server.py Enable A2A streaming capability by default 2026-06-12 03:11:00 +02:00
fasta2a_server.py.dox.md Enable A2A streaming capability by default 2026-06-12 03:11:00 +02:00
file_archives.py Centralize streamed file transfers and harden archive operations 2026-09-09 01:40:04 +02:00
file_archives.py.dox.md Centralize streamed file transfers and harden archive operations 2026-09-09 01:40:04 +02:00
file_browser.py Centralize streamed file transfers and harden archive operations 2026-09-09 01:40:04 +02:00
file_browser.py.dox.md Centralize streamed file transfers and harden archive operations 2026-09-09 01:40:04 +02:00
file_connections.py Centralize streamed file transfers and harden archive operations 2026-09-09 01:40:04 +02:00
file_connections.py.dox.md Centralize streamed file transfers and harden archive operations 2026-09-09 01:40:04 +02:00
file_transfers.py Centralize streamed file transfers and harden archive operations 2026-09-09 01:40:04 +02:00
file_transfers.py.dox.md Centralize streamed file transfers and harden archive operations 2026-09-09 01:40:04 +02:00
file_tree.py Use 4-space indented tree in workdir EXTRAS 2026-09-03 03:37:59 +03:00
file_tree.py.dox.md Use 4-space indented tree in workdir EXTRAS 2026-09-03 03:37:59 +03:00
files.py fix(prompts): strip JSON fences at render time 2026-07-25 16:01:52 +02:00
files.py.dox.md fix(prompts): strip JSON fences at render time 2026-07-25 16:01:52 +02:00
functions.py refactor: consolidate module loading utilities and add plugin lifecycle improvements 2026-03-23 21:13:25 +01:00
functions.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
git.py Rebase local plugin commits during updates 2026-09-16 00:44:04 +02:00
git.py.dox.md Rebase local plugin commits during updates 2026-09-16 00:44:04 +02:00
guids.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
guids.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
history.py Fix Responses API output and minify user turns 2026-08-24 19:51:30 +03:00
history.py.dox.md Fix Responses API output and minify user turns 2026-08-24 19:51:30 +03:00
images.py Store vision and computer-use images as path refs 2026-04-21 18:18:59 +02:00
images.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
integration_commands.py Unify global model presets 2026-07-17 12:16:10 +02:00
integration_commands.py.dox.md Hide the utility agent from profile selectors 2026-08-12 14:34:15 +02:00
job_loop.py feat: Add email integration plugin with IMAP/Exchange polling and SMTP reply 2026-03-15 10:59:48 +08:00
job_loop.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
kvp.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
kvp.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
litellm_transport.py fix: add reasoning field fallback in ChatCompletionsTransport.parse (#1731) 2026-09-30 16:47:28 +02:00
litellm_transport.py.dox.md test(models): cover Chat Completions reasoning fallback 2026-09-30 16:47:56 +02:00
llm_result.py Preserve non-LLM mode when reloading result metadata 2026-09-06 18:47:02 +02:00
llm_result.py.dox.md Preserve non-LLM mode when reloading result metadata 2026-09-06 18:47:02 +02:00
localization.py Refactor: use user locale for time displays 2026-05-21 15:26:00 +02:00
localization.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
log.py Optimize realtime WebUI synchronization 2026-08-26 15:27:36 +02:00
log.py.dox.md Optimize realtime WebUI synchronization 2026-08-26 15:27:36 +02:00
login.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
login.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
mcp_handler.py Consolidate Responses prompt bookkeeping outside Agent 2026-09-06 23:08:10 +02:00
mcp_handler.py.dox.md Consolidate Responses prompt bookkeeping outside Agent 2026-09-06 23:08:10 +02:00
mcp_server.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
mcp_server.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
media_artifacts.py Fix MCP multimodal content handling 2026-05-26 15:31:33 +02:00
media_artifacts.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
message_queue.py refactor(chat_branching): ID-based log ↔ history linking for precise branch trimming 2026-03-24 03:04:09 -07:00
message_queue.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
messages.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
messages.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
microsoft_tunnel.py Add Remote Control tunnel providers 2026-05-28 22:33:29 +02:00
microsoft_tunnel.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
migration.py Remove legacy filesystem logs 2026-07-16 15:30:37 +02:00
migration.py.dox.md Remove legacy filesystem logs 2026-07-16 15:30:37 +02:00
modules.py refactor: consolidate module loading utilities and add plugin lifecycle improvements 2026-03-23 21:13:25 +01:00
modules.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
network.py fix: preserve safe remote fetch compatibility for public sites 2026-04-12 02:08:13 +02:00
network.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
notification.py Fix notifications skipped during state snapshots 2026-07-12 12:46:12 +02:00
notification.py.dox.md Fix notifications skipped during state snapshots 2026-07-12 12:46:12 +02:00
parallel_tools.py Merge pull request #1901 from spark-328/fix/1838-recursive-secret-placeholders 2026-09-18 17:16:34 +02:00
parallel_tools.py.dox.md Align remote execution and Computer Use tool contracts 2026-09-12 18:24:54 +02:00
performance.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
performance.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
perplexity_search.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
perplexity_search.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
persist_chat.py Guard chat deletion against empty context IDs 2026-08-12 14:34:16 +02:00
persist_chat.py.dox.md Guard chat deletion against empty context IDs 2026-08-12 14:34:16 +02:00
plugins.py Cache empty plugin lookup results 2026-09-23 18:27:38 +02:00
plugins.py.dox.md Cache empty plugin lookup results 2026-09-23 18:27:38 +02:00
print_catch.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
print_catch.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
print_style.py Remove legacy filesystem logs 2026-07-16 15:30:37 +02:00
print_style.py.dox.md Remove legacy filesystem logs 2026-07-16 15:30:37 +02:00
process.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
process.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
projects.py Use 4-space indented tree in workdir EXTRAS 2026-09-03 03:37:59 +03:00
projects.py.dox.md Use 4-space indented tree in workdir EXTRAS 2026-09-03 03:37:59 +03:00
providers.py Remove redundant provider reload call from plugin change handler 2026-03-12 07:31:45 +01:00
providers.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
rate_limiter.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
rate_limiter.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
responses_history.py Preserve commentary in native Responses history replay 2026-09-15 15:06:17 +02:00
responses_history.py.dox.md Preserve commentary in native Responses history replay 2026-09-15 15:06:17 +02:00
responses_tools.py Align remote execution and Computer Use tool contracts 2026-09-12 18:24:54 +02:00
responses_tools.py.dox.md Align remote execution and Computer Use tool contracts 2026-09-12 18:24:54 +02:00
rfc.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
rfc.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
rfc_exchange.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
rfc_exchange.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
rfc_files.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
rfc_files.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
runtime.py Add Remote Control tunnel providers 2026-05-28 22:33:29 +02:00
runtime.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
searxng.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
searxng.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
secrets.py Preserve masked secrets across key casing changes 2026-09-19 02:31:45 +02:00
secrets.py.dox.md Preserve masked secrets across key casing changes 2026-09-19 02:31:45 +02:00
security.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
security.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
self_update.py Refactor: use user locale for time displays 2026-05-21 15:26:00 +02:00
self_update.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
serveo_tunnel.py Add Remote Control tunnel providers 2026-05-28 22:33:29 +02:00
serveo_tunnel.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
server_startup.py Harden Core connector transport 2026-07-27 10:14:52 +02:00
server_startup.py.dox.md Harden Core connector transport 2026-07-27 10:14:52 +02:00
settings.py Preserve configured API-key pools when saving settings 2026-09-19 02:31:45 +02:00
settings.py.dox.md Preserve configured API-key pools when saving settings 2026-09-19 02:31:45 +02:00
skills.py Hide remote skill discovery until the A0 CLI connects 2026-09-07 14:43:04 +02:00
skills.py.dox.md Hide remote skill discovery until the A0 CLI connects 2026-09-07 14:43:04 +02:00
skills_cli.py Unify skills CLI with runtime helpers 2026-07-17 15:20:33 +02:00
skills_cli.py.dox.md Unify skills CLI with runtime helpers 2026-07-17 15:20:33 +02:00
skills_import.py Add skill scanner settings flow 2026-06-18 12:52:41 +02:00
skills_import.py.dox.md Add skill scanner settings flow 2026-06-18 12:52:41 +02:00
state_migration.py Move office and desktop state under plugin storage 2026-05-12 16:21:43 +02:00
state_migration.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
state_monitor.py Optimize realtime WebUI synchronization 2026-08-26 15:27:36 +02:00
state_monitor.py.dox.md Optimize realtime WebUI synchronization 2026-08-26 15:27:36 +02:00
state_monitor_integration.py Optimize realtime WebUI synchronization 2026-08-26 15:27:36 +02:00
state_monitor_integration.py.dox.md Optimize realtime WebUI synchronization 2026-08-26 15:27:36 +02:00
state_snapshot.py Optimize realtime WebUI synchronization 2026-08-26 15:27:36 +02:00
state_snapshot.py.dox.md Optimize realtime WebUI synchronization 2026-08-26 15:27:36 +02:00
strings.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
strings.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
subagents.py Hide the utility agent from profile selectors 2026-08-12 14:34:15 +02:00
subagents.py.dox.md Hide the utility agent from profile selectors 2026-08-12 14:34:15 +02:00
system_packages.py Fix Desktop and Office package installation 2026-09-08 12:17:41 +02:00
system_packages.py.dox.md Fix Desktop and Office package installation 2026-09-08 12:17:41 +02:00
tailscale_tunnel.py Harden Tailscale Funnel remote control 2026-06-01 02:11:58 +02:00
tailscale_tunnel.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
task_scheduler.py Improve scheduler prompt editing and support optional YAML 2026-09-24 00:59:39 +02:00
task_scheduler.py.dox.md Improve scheduler prompt editing and support optional YAML 2026-09-24 00:59:39 +02:00
timed_input.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
timed_input.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
tokens.py Require visual verification for computer-use captures 2026-05-23 10:32:37 +02:00
tokens.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
tool.py refactor(chat_branching): ID-based log ↔ history linking for precise branch trimming 2026-03-24 03:04:09 -07:00
tool.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
tool_policy.py Preserve policy-filtered guidance in native tool descriptions 2026-09-06 19:14:52 +02:00
tool_policy.py.dox.md Preserve policy-filtered guidance in native tool descriptions 2026-09-06 19:14:52 +02:00
tunnel_common.py Add Remote Control tunnel providers 2026-05-28 22:33:29 +02:00
tunnel_common.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
tunnel_manager.py Add Remote Control tunnel providers 2026-05-28 22:33:29 +02:00
tunnel_manager.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
tunnel_origins.py Fix Tailscale Remote Control CSRF origins 2026-06-04 14:54:39 +02:00
tunnel_origins.py.dox.md Add llama.cpp and vLLM local providers 2026-06-15 05:37:28 +02:00
ui_bundler.py Improve WebUI bundling, manifest and stop command 2026-07-29 19:49:07 +02:00
ui_bundler.py.dox.md Improve WebUI bundling, manifest and stop command 2026-07-29 19:49:07 +02:00
ui_server.py Merge websocket transport hardening 2026-09-08 21:33:42 +02:00
ui_server.py.dox.md Merge websocket transport hardening 2026-09-08 21:33:42 +02:00
update_check.py Revert update check API endpoint from tapi.agent-zero.ai back to api.agent-zero.ai 2026-03-25 18:53:38 +01:00
update_check.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
vector_db.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
vector_db.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
virtual_desktop.py Fit Desktop display to the active canvas 2026-09-08 12:40:08 +02:00
virtual_desktop.py.dox.md Fit Desktop display to the active canvas 2026-09-08 12:40:08 +02:00
virtual_desktop_routes.py Move Linux Desktop runtime into _desktop 2026-05-07 00:14:54 +02:00
virtual_desktop_routes.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
wait.py Refactor: use user locale for time displays 2026-05-21 15:26:00 +02:00
wait.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
watchdog.py fix: create watch directory if it doesn't exist instead of raising FileNotFoundError 2026-03-19 20:52:35 +01:00
watchdog.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00
ws.py Harden Core connector transport 2026-07-27 10:14:52 +02:00
ws.py.dox.md Harden Core connector transport 2026-07-27 10:14:52 +02:00
ws_limits.py Harden Core connector transport 2026-07-27 10:14:52 +02:00
ws_limits.py.dox.md Harden Core connector transport 2026-07-27 10:14:52 +02:00
ws_manager.py Harden Core connector transport 2026-07-27 10:14:52 +02:00
ws_manager.py.dox.md Harden Core connector transport 2026-07-27 10:14:52 +02:00
yaml.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
yaml.py.dox.md Add file-level DOX docs & update AGENTS indexes 2026-06-08 12:41:53 +02:00