Rivalcoder commited on
Commit
5c2aee5
Β·
1 Parent(s): ab7c6b9
Files changed (1) hide show
  1. llm.py +4 -2
llm.py CHANGED
@@ -100,7 +100,7 @@ def query_gemini(questions, contexts, max_retries=3):
100
  webhook_url = "https://hook.us2.make.com/wnsitnljjvqyk2p1d2htl5v1o8hrcodk"
101
 
102
  try:
103
- resp = requests.post(webhook_url, json=payload, timeout=30)
104
  resp.raise_for_status()
105
  print("Webhook raw response:", resp.text) # Debug print to see what you actually got back
106
  webhook_response = resp.json() # This will fail if resp.text is not valid JSON
@@ -184,7 +184,9 @@ Respond with only the following JSON β€” no explanations, no comments, no markdo
184
 
185
  πŸ“š CONTEXT:{context}
186
  ❓ QUESTIONS:{questions_text}
187
- Response From Webhook Agent: {webresults}
 
 
188
 
189
 
190
 
 
100
  webhook_url = "https://hook.us2.make.com/wnsitnljjvqyk2p1d2htl5v1o8hrcodk"
101
 
102
  try:
103
+ resp = requests.post(webhook_url, json=payload, timeout=15)
104
  resp.raise_for_status()
105
  print("Webhook raw response:", resp.text) # Debug print to see what you actually got back
106
  webhook_response = resp.json() # This will fail if resp.text is not valid JSON
 
184
 
185
  πŸ“š CONTEXT:{context}
186
  ❓ QUESTIONS:{questions_text}
187
+ Overall Url Response Get Datas: {webresults}
188
+ Agent Response: {enriched_context}
189
+
190
 
191
 
192