Skip to content

Commit

Permalink
deleted self.client calls
Browse files Browse the repository at this point in the history
  • Loading branch information
nczerep committed Jan 9, 2025
1 parent fc586bb commit 1c7032e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ragbits-core/src/ragbits/core/llms/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def generate_raw(
Raw text response from LLM.
"""
merged_options = (self.default_options | options) if options else self.default_options
response = await self.client.call(
response = await self.call(
conversation=self._format_chat_for_llm(prompt),
options=merged_options,
json_mode=prompt.json_mode,
Expand Down Expand Up @@ -146,7 +146,7 @@ async def generate_streaming(
Response stream from LLM.
"""
merged_options = (self.default_options | options) if options else self.default_options
response = await self.client.call_streaming(
response = await self.call_streaming(
conversation=self._format_chat_for_llm(prompt),
options=merged_options,
json_mode=prompt.json_mode,
Expand Down

0 comments on commit 1c7032e

Please sign in to comment.