Skip to content

Commit 8178698

Browse files
committed
lazy loading agent pkgs
1 parent ebc607f commit 8178698

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/module.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
from lf_toolkit.shared.mued_api_v0_1_0 import DataPolicySupport, HealthStatus, Role
66

77
from src.agent.context import parse_json_to_prompt
8-
from src.agent.agent import invoke_base_agent
9-
108

119
def chat_module(request: ChatRequest) -> ChatResponse:
1210
"""
@@ -21,6 +19,7 @@ def chat_module(request: ChatRequest) -> ChatResponse:
2119
Edit src/agent/prompts.py to change the chatbot's behaviour.
2220
Edit src/agent/agent.py to change the agent logic (summarisation threshold, LLM provider, etc.).
2321
"""
22+
from src.agent.agent import invoke_base_agent
2423

2524
conversation_id = request.conversationId
2625

0 commit comments

Comments
 (0)