-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(simplebot)🔧: Refactor JSON response handling to use Pydantic…
… models - Added import for Pydantic BaseModel. - Implemented checks for pydantic_model attribute and its inheritance from BaseModel. - Updated the JSON response format to use json_schema from the Pydantic model.
- Loading branch information
Showing
1 changed file
with
16 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters