Skip to content

Commit

Permalink
Liskov Substitution Principle
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Nov 13, 2024
1 parent 48143e6 commit 2a0b5d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ovos_plugin_manager/templates/solvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,11 @@ def get_chat_completion(self, messages: List[Dict[str, str]],
return self.continue_chat(messages=messages, lang=lang, units=units)

@_deprecate_context2lang()
def stream_utterances(self, messages: List[Dict[str, str]],
lang: Optional[str] = None,
units: Optional[str] = None) -> Iterable[str]:
def stream_chat_utterances(self, messages: List[Dict[str, str]],
lang: Optional[str] = None,
units: Optional[str] = None) -> Iterable[str]:
"""
Stream utterances for the given query as they become available.
Stream utterances for the given chat history as they become available.
Args:
messages: The chat messages.
Expand Down

0 comments on commit 2a0b5d8

Please sign in to comment.