Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yinjiaqi authored and yinjiaqi committed Dec 27, 2024
1 parent e196696 commit a776d8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/core/components/llms/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,9 @@ def completion(
url = self.http_client.service_url(completion_url, self.base_url)
response = self.http_client.session.post(url, json=request.params, headers=headers, timeout=timeout,
stream=stream)

return self.gene_response(response, stream)


@staticmethod
def check_service_error(data: dict):
Expand Down

0 comments on commit a776d8a

Please sign in to comment.