Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 30945ee

Browse files
Merge pull request #53 from code-yeongyu/feature/bumpup-revchatgpt
Bump up dependencies
2 parents 373e679 + 2bec0b5 commit 30945ee

File tree

3 files changed

+434
-567
lines changed

3 files changed

+434
-567
lines changed

‎aishell/query_clients/reverse_engineered_chatgpt_client.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import os
2-
from typing import Optional, Union, cast
2+
from typing import Optional, Union
33

44
from revChatGPT.V1 import Chatbot
55

@@ -42,9 +42,9 @@ def query(self, prompt: str) -> str:
4242

4343
response_text = ''
4444
for data in chatbot.ask(prompt):
45-
response_text = data['message']
45+
response_text = data['message']# type: ignore
4646

47-
response_text = make_executable_command(cast(str, response_text))
47+
response_text = make_executable_command(response_text)
4848

4949
return response_text
5050

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /