Skip to content

Commit

Permalink
Release 1.0.18 (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
PCSwingle authored Apr 23, 2024
1 parent 03cc739 commit b830d83
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Changelog

In this changelog focus on user facing highlights and stick to the format. This information will be used to motivate users to upgrade or after upgrading to inform them of features that might otherwise not be very discoverable.

`1.0.18 <https://pypi.org/project/mentat/1.0.18/>`__
--------------------------------------------------

- Bug fixes and dependency updates

`1.0.17 <https://pypi.org/project/mentat/1.0.17/>`__
--------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion mentat/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.17
1.0.18
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ openai==1.13.3
pillow==10.1.0
prompt-toolkit==3.0.39
Pygments==2.15.1
ragdaemon~=0.1.0
ragdaemon~=0.2.0
selenium==4.15.2
sentry-sdk==1.34.0
sounddevice==0.4.6
soundfile==0.12.1
spiceai~=0.1.0
spiceai~=0.2.0
termcolor==2.3.0
textual==0.47.1
textual-autocomplete==2.1.0b0
Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def mock_call_llm_api(mocker):
completion_mock = mocker.patch.object(LlmApiHandler, "call_llm_api")

def wrap_unstreamed_string(value):
return SpiceResponse(SpiceCallArgs("gpt-3.5-turbo", [], False), value, 1, 0, 0, True, 1, None)
return SpiceResponse(SpiceCallArgs("gpt-3.5-turbo", [], False), value, 1, 0, 0, True, 1)

def wrap_streamed_strings(values):
class MockStreamingSpiceResponse:
Expand All @@ -115,7 +115,7 @@ async def __anext__(self):
return values[self.cur_value - 1]

def current_response(self):
return SpiceResponse(SpiceCallArgs("gpt-3.5-turbo", [], True), "".join(values), 1, 0, 0, True, 1, None)
return SpiceResponse(SpiceCallArgs("gpt-3.5-turbo", [], True), "".join(values), 1, 0, 0, True, 1)

mock_spice_response = MockStreamingSpiceResponse()
return mock_spice_response
Expand Down

0 comments on commit b830d83

Please sign in to comment.