From c2bd2faa23b375cc47a7ebd7c98a96033831d55a Mon Sep 17 00:00:00 2001 From: BioBootloader Date: Wed, 3 Apr 2024 15:10:01 -0700 Subject: [PATCH] anotha one --- benchmarks/exercism_practice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/exercism_practice.py b/benchmarks/exercism_practice.py index ddda659f9..1d1a4cd39 100755 --- a/benchmarks/exercism_practice.py +++ b/benchmarks/exercism_practice.py @@ -64,7 +64,7 @@ async def failure_analysis(exercise_runner, language): try: llm_api_handler = SESSION_CONTEXT.get().llm_api_handler llm_grade = await llm_api_handler.call_llm_api(messages, model, False) - response = llm_grade.choices[0].message.content + response = llm_grade.text except BadRequestError: response = "Unable to analyze test case\nreason: too many tokens to analyze"