Commit graph

998 commits

Author SHA1 Message Date
linuztx
5c9c21c2c7 feat: Microsoft Dev Tunnels 2026-01-01 19:26:46 +08:00
frdel
328142730b Merge branch 'pr/860' into development 2025-12-30 09:23:00 +01:00
frdel
fd1fc8e864 Merge branch 'pr/849' into development 2025-12-29 21:06:59 +01:00
keyboardstaff
9fe1080705 Add inline button confirmations for Reset Chat and Restart 2025-12-29 05:08:14 -08:00
frdel
ea4968af3c Merge branch 'main' into development 2025-12-29 07:42:45 +01:00
frdel
a54768cb2a showcase video redacted 2025-12-29 07:42:17 +01:00
Rafael Uzarowski
cc7af97ed3
Fix prompt fence stripping policy
- Restrict code fence stripping to fences at start-of-line (prevents inline "~~~markdown" from being treated as a fence and merging lines)
- Only strip fences for full JSON templates in Agent.read_prompt() and files.parse_file()
- Preserve fenced examples in markdown/tool prompts while keeping json-only prompts parseable
- Add regression tests for fence stripping and prompt fence policy
2025-12-28 22:33:34 +01:00
frdel
601bb56611 Merge branch 'main' into development 2025-12-26 08:02:43 +01:00
frdel
19169586af Update FUNDING.yml 2025-12-26 08:01:52 +01:00
keyboardstaff
fbc729d4d3 fix css 2025-12-23 00:15:17 -08:00
keyboardstaff
78e735f752 fix css 2025-12-23 00:05:53 -08:00
keyboardstaff
9956fca399 fix css 2025-12-22 07:28:23 -08:00
frdel
987bb1b892 Update buttons.css 2025-12-22 14:28:38 +01:00
Wabifocus
6d31f86f13 css & html cleanup 2025-12-21 08:37:40 -08:00
Wabifocus
c07bbba4da InlineButtonConfirmations 2025-12-21 01:09:23 -08:00
Jan Tomášek
59e424abce
Merge pull request #844 from CyranoB/feature/add-bedrock-provider
Add AWS Bedrock provider support
2025-12-20 07:24:54 +01:00
Jan Tomášek
101b072dc8
Merge pull request #843 from CyranoB/feature/add-zai-provider
Add Z.AI provider support for general and coding APIs
2025-12-19 21:41:55 +01:00
frdel
ef68a16eee Merge branch 'pr/846' into development 2025-12-19 16:17:10 +01:00
dipi.evil
265e31e4bb fix: improve error handling for project activation in existing context 2025-12-19 11:34:14 -03:00
dipi.evil
07daf31b39 fix: check if project exists when activating 2025-12-19 11:18:10 -03:00
dipi.evil
a96387d547 fix: validate existing agent for context 2025-12-19 11:17:29 -03:00
dipi.evil
8639ef19e6 chore: comments fixes 2025-12-19 10:54:39 -03:00
dipi.evil
5a63cf7bfb feat: add support for agent and project on API 2025-12-19 10:28:32 -03:00
frdel
dd018d66a4 pipx, subagent paths, alpine directives, CSRF allowed origins autoset 2025-12-19 11:30:08 +01:00
frdel
a390adaa3c Merge branch 'pr/840' into development 2025-12-15 14:44:46 +01:00
frdel
9c905cdbbd cleanup prints in A2A/MCP 2025-12-15 14:44:32 +01:00
Eddie Pick
f5fef3fbe5 Add AWS Bedrock provider support for chat and embeddings
- Add Bedrock to chat providers with native LiteLLM support
- Add Bedrock to embedding providers

Available models (from AWS docs):

Claude:
- anthropic.claude-opus-4-5-20251101-v1:0 (Opus 4.5)
- anthropic.claude-sonnet-4-5-20250929-v1:0 (Sonnet 4.5)
- anthropic.claude-haiku-4-5-20251001-v1:0 (Haiku 4.5)

Amazon Nova:
- amazon.nova-pro-v1:0, amazon.nova-lite-v1:0
- amazon.nova-2-lite-v1:0, amazon.nova-2-sonic-v1:0

Qwen:
- qwen.qwen3-235b-a22b-2507-v1:0
- qwen.qwen3-coder-480b-a35b-v1:0

Others: MiniMax M2, Mistral Large 3, DeepSeek R1/V3,
Llama 3.3, Titan Embeddings

Auth: Set BEDROCK_API_KEY (new AWS Bedrock API key)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 13:39:25 -05:00
Eddie Pick
079ef0698d Add Z.AI provider support for general and coding APIs
- Add Z.AI provider with base URL https://api.z.ai/api/paas/v4
- Add Z.AI Coding provider with base URL https://api.z.ai/api/coding/paas/v4
- Both use OpenAI-compatible protocol via LiteLLM

Available models: glm-4.6, glm-4.6v (vision), glm-4.5, glm-4.5-air

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 12:32:48 -05:00
deci
31daa48a2a #84 - adjusted A2A project passing via message.metadata 2025-12-12 12:22:41 -06:00
deci
2c87e17f18 #84 - APA passing the project via
message_id-based dictionary instead of FIFO queue
2025-12-12 11:19:58 -06:00
deci
3abcf19651 #84 - Fix MCP/A2A project activation 2025-12-11 10:07:55 -06:00
frdel
99e8c76f5f support uppercase A0_SET_* in .env 2025-12-11 12:50:50 +01:00
deci
d1be7f2531 #84 - Projects support in MCP, A2A, API 2025-12-10 16:05:53 -06:00
frdel
1bfac8fe26 Merge branch 'pr/838' into development 2025-12-10 16:33:39 +01:00
Jan Tomášek
df25133933
Update installation.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 10:31:30 +01:00
Jan Tomášek
0508eeb616
Update settings.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 10:30:03 +01:00
Jan Tomášek
860948cf98
Update settings.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 10:29:33 +01:00
Jan Tomášek
e52b0ecf43
Update settings.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 10:28:00 +01:00
Jan Tomášek
01096c1813
Update settings.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 10:27:44 +01:00
deci
2400dd5882 #81 - .env vars applied to settings 2025-12-09 16:47:16 -06:00
frdel
17ab551e88 Merge branch 'development' of https://github.com/agent0ai/agent-zero into development 2025-12-02 12:36:49 +01:00
frdel
a92b2627c8 parse LLM chunk fix, alpine store state save/load 2025-12-02 12:36:42 +01:00
Jan Tomášek
4121c04b54
Merge pull request #824 from pUrGe12/patch-csrf 2025-11-26 21:50:19 +01:00
pUrGe12
00168a41e7 moving from double quotes to single quotes because that is breaking the fstring 2025-11-26 16:14:04 +05:30
frdel
0b35de52b4 Merge branch 'pr/810' into development 2025-11-26 09:25:47 +01:00
frdel
3382ac402f Merge branch 'pr/813' into development 2025-11-26 09:07:49 +01:00
frdel
11d1cb0e64 subagents preparation 2025-11-26 09:07:30 +01:00
frdel
94cfa49d87 fix file name download issue 2025-11-20 13:25:30 +01:00
Rafael Uzarowski
51c8451696
Scheduler: use convenience methods for logging of special messages 2025-11-19 13:00:14 +01:00
Rafael Uzarowski
784fe5589a
Fix: proper task cancellation in scheduler, leakage in defer.py
*   **Mechanism**: `EventLoopThread.terminate()` now correctly stops the asyncio loop and joins the thread, removing it from the global registry.
*   **Cleanup**: `DeferredTask.kill(terminate_thread=True)` now invokes `_drain_event_loop_tasks()`, which runs **inside** the target thread to explicitly cancel and await all pending tasks (including monologue loops) before killing the thread. This prevents "Task was destroyed but it is pending" warnings and ensures clean exits.

*   **Tracking**: The scheduler now maintains a live registry (`_running_deferred_tasks`) of active `DeferredTask` objects, protected by a reentrant lock.
*   **State Management**: The `run_task` wrapper uses `asyncio.shield` to ensure that even when a task is cancelled (e.g., by user action), the task state is reliably reset to `IDLE` in the database, preventing tasks from getting stuck in `RUNNING` state.

The fix is correctly propagated to all relevant destruction points using `terminate_thread=True`:
*   **Dedicated Context**: `scheduler_task_delete.py` cancels the specific running task and terminates its thread.
*   **Shared/Dedicated Context**: Both `chat_remove.py` (Delete Chat) and `chat_reset.py` (Reset Chat) now call `scheduler.cancel_tasks_by_context(...)`. This ensures that if a scheduler task is running in a chat window (monologue), resetting that chat immediately kills the background thread and stops the agent loop.
2025-11-19 12:50:43 +01:00