Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from io import StringIO
|
|
7 |
import logging
|
8 |
#from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, OpenAIServerModel
|
9 |
from pathlib import Path
|
10 |
-
from prompt_settings import verification_of_final_answer, yaml_template
|
11 |
from duckduckgo_search import ddg
|
12 |
|
13 |
from llama_index.core import (
|
@@ -185,6 +185,9 @@ class BasicAgent:
|
|
185 |
|
186 |
def _ask_gpt4o(self, text: str) -> str:
|
187 |
response = self.agent.chat(text)
|
|
|
|
|
|
|
188 |
return str(response)
|
189 |
'''
|
190 |
messages = [{"role": "user", "content": text}]
|
|
|
7 |
import logging
|
8 |
#from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, OpenAIServerModel
|
9 |
from pathlib import Path
|
10 |
+
from prompt_settings import verification_of_final_answer, yaml_template
|
11 |
from duckduckgo_search import ddg
|
12 |
|
13 |
from llama_index.core import (
|
|
|
185 |
|
186 |
def _ask_gpt4o(self, text: str) -> str:
|
187 |
response = self.agent.chat(text)
|
188 |
+
print_coso("==== Full Agent Response ====")
|
189 |
+
print_coso(response)
|
190 |
+
print_coso("=============================")
|
191 |
return str(response)
|
192 |
'''
|
193 |
messages = [{"role": "user", "content": text}]
|