Skip to content

Commit

Permalink
fix openai
Browse files Browse the repository at this point in the history
  • Loading branch information
BenderV committed Sep 20, 2024
1 parent 1ba1250 commit d660d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autochat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def fetch_openai(self):
role="system",
content=self.instruction,
)
messages = [instruction_message] + messages
messages = [instruction_message.to_openai_dict()] + messages

try:
if self.functions_schema:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="autochat",
version="0.3.5",
version="0.3.6",
packages=find_packages(),
install_requires=["tenacity==8.3.0", "pillow==10.4.0"],
extras_require={
Expand Down

0 comments on commit d660d44

Please sign in to comment.