mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-31 19:45:15 +02:00
refactor(automations): move agent_task to builtin and restructure dispatch
This commit is contained in:
parent
f356e304e8
commit
30fff9e52f
22 changed files with 142 additions and 133 deletions
|
|
@ -13,7 +13,7 @@ from typing import Any
|
|||
|
||||
import pytest
|
||||
|
||||
from app.automations.actions.agent_task.auto_decide import build_auto_decisions
|
||||
from app.automations.actions.builtin.agent_task.auto_decide import build_auto_decisions
|
||||
|
||||
pytestmark = pytest.mark.unit
|
||||
|
||||
|
|
@ -10,7 +10,9 @@ from __future__ import annotations
|
|||
import pytest
|
||||
from langchain_core.messages import AIMessage, HumanMessage, ToolMessage
|
||||
|
||||
from app.automations.actions.agent_task.finalize import extract_final_assistant_message
|
||||
from app.automations.actions.builtin.agent_task.finalize import (
|
||||
extract_final_assistant_message,
|
||||
)
|
||||
|
||||
pytestmark = pytest.mark.unit
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue