Skip to content

Commit

Permalink
remove unnecessary type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Jan 8, 2025
1 parent 075021b commit e0ca601
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ class Joke(BaseModel):
default=None, description="answer to resolve the joke"
)

chat = model.with_structured_output(Joke, **self.structured_output_kwargs) # type: ignore[arg-type]
chat = model.with_structured_output(Joke, **self.structured_output_kwargs)
setup_result = chat.invoke(
"Give me the setup to a joke about cats, no punchline."
)
Expand Down

0 comments on commit e0ca601

Please sign in to comment.