ORromu commited on
Commit
7ae5ec2
·
verified ·
1 Parent(s): faa955a

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +8 -2
agent.py CHANGED
@@ -46,8 +46,14 @@ sys_msg = SystemMessage(content=system_prompt)
46
 
47
  # Loading the assistant
48
  #chat = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
49
- #chat = ChatGroq(model_name="mistral-saba-24b", temperature=0)
50
- chat = ChatGroq(model_name="llama-3.1-8b-instant", temperature=0)
 
 
 
 
 
 
51
 
52
  tools = [add,
53
  substract,
 
46
 
47
  # Loading the assistant
48
  #chat = ChatGoogleGenerativeAI(model="gemini-2.0-flash", temperature=0)
49
+ chat = ChatGoogleGenerativeAI(
50
+ model="gemini-2.5-flash-preview-04-17",
51
+ temperature=0,
52
+ max_retries=1,
53
+ rate_limiter=InMemoryRateLimiter(
54
+ requests_per_second=1/60,
55
+ ),
56
+ )
57
 
58
  tools = [add,
59
  substract,