d17
Browse files
app.py
CHANGED
|
@@ -30,6 +30,7 @@ class BasicAgent:
|
|
| 30 |
return response.strip()
|
| 31 |
except Exception as e:
|
| 32 |
print(f"Error calling inference API: {e}")
|
|
|
|
| 33 |
return f"error: {e} | token used: {self.token}"
|
| 34 |
|
| 35 |
|
|
|
|
| 30 |
return response.strip()
|
| 31 |
except Exception as e:
|
| 32 |
print(f"Error calling inference API: {e}")
|
| 33 |
+
traceback.print_exc() # This will print the full traceback
|
| 34 |
return f"error: {e} | token used: {self.token}"
|
| 35 |
|
| 36 |
|