Charles Grandjean commited on
Commit
56880e2
·
1 Parent(s): 7282011

fix agent init

Browse files
Files changed (1) hide show
  1. agent_api.py +2 -2
agent_api.py CHANGED
@@ -119,8 +119,8 @@ class CyberLegalAPI:
119
  resend.api_key = os.getenv("RESEND_API_KEY")
120
  logger.info("✅ Resend client initialized")
121
 
122
- self.agent_client = CyberLegalAgent(llm=llm, system_prompt=SYSTEM_PROMPT_CLIENT, tools=tools.tools_for_client)
123
- self.agent_lawyer = CyberLegalAgent(llm=llm, system_prompt=SYSTEM_PROMPT_LAWYER, tools=tools.tools_for_lawyer)
124
  self.pdf_analyzer = PDFAnalyzerAgent(llm=llm, mistral_client=mistral_client)
125
  self.conversation_manager = ConversationManager()
126
  logger.info(f"🔧 CyberLegalAPI initialized with {llm_provider.upper()} provider")
 
119
  resend.api_key = os.getenv("RESEND_API_KEY")
120
  logger.info("✅ Resend client initialized")
121
 
122
+ self.agent_client = CyberLegalAgent(llm=llm, tools=tools.tools_for_client)
123
+ self.agent_lawyer = CyberLegalAgent(llm=llm, tools=tools.tools_for_lawyer)
124
  self.pdf_analyzer = PDFAnalyzerAgent(llm=llm, mistral_client=mistral_client)
125
  self.conversation_manager = ConversationManager()
126
  logger.info(f"🔧 CyberLegalAPI initialized with {llm_provider.upper()} provider")