Skip to content

Commit

Permalink
Called load_pydantic_format_instructions in ai_block
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos committed Feb 16, 2024
1 parent 37442d3 commit 6eb7bc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codex/common/ai_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ def __init__(
)
self.templates_dir = pathlib.Path(self.template_base_path).resolve(strict=True)
self.call_template_id = None
self.load_pydantic_format_instructions()

async def load_pydantic_format_instructions(self):
def load_pydantic_format_instructions(self):
if self.pydantic_object:
schema = self.pydantic_object.schema()

Expand Down

0 comments on commit 6eb7bc0

Please sign in to comment.