jafhaponiuk commited on
Commit
a03ddcf
·
verified ·
1 Parent(s): 6f82e49

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +3 -1
agent.py CHANGED
@@ -7,9 +7,11 @@ from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
7
  from langgraph.graph import StateGraph, END
8
 
9
  from retriever import get_retriever
10
- from system_prompts import SYSTEM_PROMPT
11
  from tools import tools
12
 
 
 
 
13
  # Define the shared memory structure for the agent
14
  class AgentState(dict):
15
  pass
 
7
  from langgraph.graph import StateGraph, END
8
 
9
  from retriever import get_retriever
 
10
  from tools import tools
11
 
12
+ with open("system_prompt.txt", "r", encoding="utf-8") as f:
13
+ SYSTEM_PROMPT = f.read()
14
+
15
  # Define the shared memory structure for the agent
16
  class AgentState(dict):
17
  pass