Skip to content

Commit

Permalink
Fix MathReasoning typing in test_structured_output for 3.8 compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Sternakt <[email protected]>
  • Loading branch information
sternakt committed Dec 4, 2024
1 parent 89ac536 commit b22d6cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/agentchat/test_structured_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import os
import sys
from typing import List
from unittest.mock import MagicMock

import pytest
Expand Down Expand Up @@ -70,7 +71,7 @@ class Step(BaseModel):


class MathReasoning(BaseModel):
steps: list[Step]
steps: List[Step]
final_answer: str

def format(self) -> str:
Expand Down

0 comments on commit b22d6cf

Please sign in to comment.