agent-zero/tests
Alessandro f67564a8ae Add Codex/ChatGPT account OAuth provider
Create a generic OAuth Connections plugin with Codex/ChatGPT Account as the first provider, using OpenAI's device-code flow to persist Codex-compatible account tokens.

Expose a loopback OpenAI-compatible wrapper for models, responses, and chat completions, and point LiteLLM at the container-local Agent Zero origin.

Add a dummy API-key extension and focused tests so the account-backed provider appears configured without requiring a user-entered key.

docs: add Codex plan OAuth callout

Highlight that Agent Zero can use an existing OpenAI Codex plan through the new OAuth flow.

Add the account-backed LLM plans image and surface the section from the README navigation, while pointing toward future Gemini CLI and Claude Code integrations.

Handle Codex account SSE chat chunks

Teach the Codex/ChatGPT account bridge to extract text from OpenAI-style SSE chat completion deltas and fall back to a normal output_text response when upstream only streams chunks.

Strip user-supplied stream kwargs before LiteLLM calls so Agent Zero owns streaming mode and custom parameters cannot pass stream twice.

Add targeted tests for streamed delta extraction and reconstructed responses.

update README.md with LLM plans mention
2026-04-28 16:14:53 +02:00
..
chunk_parser_test.py File Tree: Fixed other tests to make full test suite functional 2025-11-09 15:13:04 +01:00
email_parser_test.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
rate_limiter_test.py projects continued 2025-11-03 16:17:12 +01:00
test_browser_agent_regressions.py Improve browser session context lifecycle 2026-04-28 14:40:48 +02:00
test_default_prompt_budget.py prompts: adopt compact defaults and rebalance guidance 2026-03-30 21:44:20 +02:00
test_dirty_json.py stop tool dispatch at first completed json object 2026-04-03 16:56:21 +02:00
test_docker_release_plan.py Add automatic Docker builds when release tags reach testing/main branches 2026-03-26 08:22:18 +01:00
test_extensions_stress.py refactor: improve caching system and optimize extension/plugin path resolution 2026-03-18 12:40:33 +01:00
test_fasta2a_client.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_fastmcp_openapi_security.py Upgrade FastMCP to 3.2.4 / MCP to 1.27.0 for CVE-2026-32871 2026-04-16 15:21:01 +02:00
test_file_tree_visualize.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_git_version_label.py Add latest selector option to self-update with branch head resolution for testing/development and newest tag resolution for main 2026-03-26 10:44:12 +01:00
test_http_auth_csrf.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_model_config_api_keys.py Add project-scoped LLM presets 2026-04-21 18:18:59 +02:00
test_model_config_project_presets.py Add project-scoped LLM presets 2026-04-21 18:18:59 +02:00
test_multi_tab_isolation.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_oauth_codex.py Add Codex/ChatGPT account OAuth provider 2026-04-28 16:14:53 +02:00
test_office_canvas_setup.py Improve Office canvas setup and dashboard UX 2026-04-28 07:17:04 +02:00
test_office_document_affordance.py Tighten Office document auto-handoff 2026-04-27 03:08:22 +02:00
test_office_wopi_store.py Improve Office canvas setup and dashboard UX 2026-04-28 07:17:04 +02:00
test_persist_chat_log_ids.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_print_style.py Sanitize print logs; refactor popular plugin logic 2026-03-30 11:50:59 +02:00
test_run_ui_config.py WebSocket merge 2026-02-01 16:07:45 +01:00
test_self_update_tag_filter.py fix: apply btn-field class to disabled update buttons in self-update modal 2026-03-31 15:29:51 +02:00
test_settings_developer_sections.py Settings polishing, logout button 2026-02-05 22:02:49 +01:00
test_skills_runtime.py Improve active skills management and simplify Skills UI 2026-04-21 05:47:22 +02:00
test_snapshot_parity.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_snapshot_schema_v1.py BIG PYTHON REFACTOR 2026-03-05 17:28:11 +01:00
test_socketio_library_semantics.py WebSocket merge 2026-02-01 16:07:45 +01:00
test_socketio_unknown_namespace.py WebSocket merge 2026-02-01 16:07:45 +01:00
test_state_monitor.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_state_sync_handler.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_state_sync_welcome_screen.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_stream_tool_early_stop.py stop tool dispatch at first completed json object 2026-04-03 16:56:21 +02:00
test_text_editor_context_patch.py Add context-based patch_text support to text_editor 2026-04-21 18:18:59 +02:00
test_time_travel.py Debounce Time Travel snapshots with usr watchdog 2026-04-27 19:06:13 +02:00
test_tool_request_normalization.py fix: normalize tool request fallback fields 2026-04-27 19:24:56 +02:00
test_webui_extension_surfaces.py Add browser annotate mode 2026-04-26 23:57:48 +02:00
test_whatsapp_bridge_manager.py Squashed commit of the following: 2026-03-31 09:47:25 +02:00
test_whatsapp_number_utils.py Squashed commit of the following: 2026-03-31 09:47:25 +02:00
test_whatsapp_storage_paths.py Squashed commit of the following: 2026-03-31 09:47:25 +02:00
test_ws_client_api_surface.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_ws_csrf.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_ws_handlers.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00
test_ws_manager.py fix: resolve option whitelist, memory leak, task tracking, and dispatch unification 2026-03-27 01:21:45 -07:00
test_ws_security.py Rebuild test suite & update documentation 2026-03-26 01:12:22 -07:00