Let's see how it reacts with debug

Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
This commit is contained in:
Víctor Mayoral Vilches 2025-05-08 17:57:48 +02:00
parent a04282a491
commit 984f4e5b35
2 changed files with 6 additions and 3 deletions

5
.gitignore vendored
View File

@ -145,4 +145,7 @@ cython_debug/
# CAI files
.cai/
.vscode/
.vscode/
# benchmarks
benchmarks/cybermetric/outputs

View File

@ -48,7 +48,7 @@ import requests
# Default API bases
OPENROUTER_API_BASE = "https://openrouter.ai/api/v1"
OLLAMA_LITELLM_API_BASE = os.environ["OLLAMA_API_BASE"] #"http://localhost:8000/v1"
OLLAMA_LITELLM_API_BASE = os.environ["OLLAMA_API_BASE"] # "http://localhost:8000/v1"
os.environ["OPENAI_API_KEY"] = "test_key_for_ci_environment"
class CyberMetricEvaluator:
@ -293,7 +293,7 @@ class CyberMetricEvaluator:
print(f"Expected Answer: {item['correct_answer']}, LLM Answer: {item['llm_answer']}\n")
if __name__ == "__main__":
#litellm._turn_on_debug()
litellm._turn_on_debug()
# Create argument parser
parser = argparse.ArgumentParser(description='CyberMetric Evaluator for LLMs')