Spaces:
Runtime error
Runtime error
abtsousa
commited on
Commit
·
d0441be
1
Parent(s):
baeb823
Add model name logging.
Browse files
app.py
CHANGED
|
@@ -9,6 +9,7 @@ import asyncio
|
|
| 9 |
from agent.agent import OracleBot
|
| 10 |
from utils import fetch_task_file
|
| 11 |
from config import start_phoenix, APP_NAME, DEFAULT_API_URL, initialize_cache_directory, CACHE_DIR
|
|
|
|
| 12 |
|
| 13 |
load_dotenv()
|
| 14 |
|
|
@@ -27,6 +28,7 @@ start_phoenix()
|
|
| 27 |
|
| 28 |
# Simplified concurrent processor: launch all tasks immediately and await them together
|
| 29 |
async def process_questions(agent: OracleBot, questions_data: list, working_dir: str):
|
|
|
|
| 30 |
print(f"Running agent on {len(questions_data)} questions concurrently (simple fan-out)...")
|
| 31 |
print(f"Using working directory: {working_dir}")
|
| 32 |
|
|
|
|
| 9 |
from agent.agent import OracleBot
|
| 10 |
from utils import fetch_task_file
|
| 11 |
from config import start_phoenix, APP_NAME, DEFAULT_API_URL, initialize_cache_directory, CACHE_DIR
|
| 12 |
+
from agent.config import MODEL_NAME
|
| 13 |
|
| 14 |
load_dotenv()
|
| 15 |
|
|
|
|
| 28 |
|
| 29 |
# Simplified concurrent processor: launch all tasks immediately and await them together
|
| 30 |
async def process_questions(agent: OracleBot, questions_data: list, working_dir: str):
|
| 31 |
+
print(f"Running model {MODEL_NAME}...")
|
| 32 |
print(f"Running agent on {len(questions_data)} questions concurrently (simple fan-out)...")
|
| 33 |
print(f"Using working directory: {working_dir}")
|
| 34 |
|