Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
w5688414 committed Feb 26, 2024
1 parent d0fdbff commit 1ebee72
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions erniebot-agent/src/erniebot_agent/chat_models/erniebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,12 +336,3 @@ def convert_response_to_output(response: ChatCompletionResponse, output_type: Ty
token_usage=response.usage,
clarify=clarify,
)

# return output_type(
# content=response.rbody,
# function_call=None,
# plugin_info=None,
# search_info=None,
# token_usage=None,
# clarify=clarify,
# )
1 change: 0 additions & 1 deletion erniebot/src/erniebot/backends/aistudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ async def arequest(
params=params,
)
headers = self._add_aistudio_fields_to_headers(headers)

return await self._client.asend_request(
method,
url,
Expand Down

0 comments on commit 1ebee72

Please sign in to comment.