This repository was archived by the owner on Dec 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
test/unit_test/back-end/manual_test Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
7
7
[project ]
8
8
name = " re_edge_gpt_dev"
9
- version = " 0.0.42 "
9
+ version = " 0.0.43 "
10
10
authors = [
11
11
{ name = " JE-Chen" , email = " jechenmailman@gmail.com" },
12
12
]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
7
7
[project ]
8
8
name = " re_edge_gpt"
9
- version = " 0.0.35 "
9
+ version = " 0.0.36 "
10
10
authors = [
11
11
{ name = " JE-Chen" , email = " jechenmailman@gmail.com" },
12
12
]
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ async def ask_stream(
121
121
# Construct a ChatHub request
122
122
if remove_options is not None :
123
123
for option in remove_options :
124
- if option in remove_options :
124
+ if option in conversation_style . value :
125
125
conversation_style .value .remove (option )
126
126
if add_options is not None :
127
127
for option in add_options :
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ async def test_ask() -> None:
21
21
bot = await Chatbot .create (cookies = cookies , mode = mode )
22
22
response = await bot .ask (
23
23
prompt = "What version u are using GPT-4 turbo?" ,
24
- conversation_style = ConversationStyle .creative_classic ,
24
+ conversation_style = ConversationStyle .creative_classic , # ConversationStyle.creative
25
25
simplify_response = True ,
26
26
search_result = True ,
27
27
)
You can’t perform that action at this time.
0 commit comments