Skip to content

Commit

Permalink
update the eval cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ShilinHe committed May 23, 2024
1 parent 1667389 commit caf7d45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def reply(

try:
response_content = llm_response["content"]
if "```json" in response_content:
if response_content.startswith("```json"):
response_content = response_content[7:-3]
llm_response = json.loads(response_content)
output_size = self.tracing.count_tokens(llm_response)
Expand Down

0 comments on commit caf7d45

Please sign in to comment.