Spaces:
Starting
Starting
debug
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ def reasoner(query: str, documents: list[str], llm_client: Any):
|
|
160 |
else:
|
161 |
message = "Using o3-mini to quickly analyze the claim..."
|
162 |
|
163 |
-
if not documents:
|
164 |
prompt = templates["no_evidence"].format(claim=query)
|
165 |
llm_response = llm_client.run_inference(prompt)
|
166 |
|
|
|
160 |
else:
|
161 |
message = "Using o3-mini to quickly analyze the claim..."
|
162 |
|
163 |
+
if not documents or len(documents) == 0:
|
164 |
prompt = templates["no_evidence"].format(claim=query)
|
165 |
llm_response = llm_client.run_inference(prompt)
|
166 |
|