Skip to content

Commit

Permalink
fix: add default system_prompt_variables value
Browse files Browse the repository at this point in the history
  • Loading branch information
jameszyao authored and SimsonW committed Mar 13, 2024
1 parent d951aa0 commit 871fd50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion taskingai/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__title__ = "taskingai"
__version__ = "0.2.0"
__version__ = "0.2.1"
4 changes: 2 additions & 2 deletions taskingai/assistant/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def generate_message(
"""

body = MessageGenerateRequest(
system_prompt_variables=system_prompt_variables,
system_prompt_variables=system_prompt_variables or {},
stream=stream,
)

Expand Down Expand Up @@ -281,7 +281,7 @@ async def a_generate_message(
"""

body = MessageGenerateRequest(
system_prompt_variables=system_prompt_variables,
system_prompt_variables=system_prompt_variables or {},
stream=stream,
)

Expand Down

0 comments on commit 871fd50

Please sign in to comment.