Skip to content

Commit

Permalink
small bug fix - 0.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Jul 31, 2023
1 parent 68c0fc0 commit 93c9831
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion easycompletion/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def function_completion(
all_messages = []

if system_message is not None:
messages.append({"role": "system", "content": system_message})
all_messages.append({"role": "system", "content": system_message})

if messages is not None:
all_messages += messages
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="easycompletion",
version='0.3.3',
version='0.3.4',
description="Easy text completion and function calling. Also includes useful utilities for counting tokens, composing prompts and trimming them to fit within the token limit.",
long_description=long_description, # added this line
long_description_content_type="text/markdown", # and this line
Expand Down

0 comments on commit 93c9831

Please sign in to comment.