fix: resolve suggestions type mismatch in mod.rs
Some checks failed
BotServer CI / build (push) Has been cancelled
Some checks failed
BotServer CI / build (push) Has been cancelled
This commit is contained in:
parent
00372fd56d
commit
807951a9a5
1 changed files with 1 additions and 4 deletions
|
|
@ -909,10 +909,7 @@ let system_prompt = if !message.active_switchers.is_empty() {
|
|||
message_type: MessageType::BOT_RESPONSE,
|
||||
stream_token: None,
|
||||
is_complete: true,
|
||||
suggestions: suggestions
|
||||
.into_iter()
|
||||
.map(|s| s.text)
|
||||
.collect(),
|
||||
suggestions,
|
||||
switchers: Vec::new(),
|
||||
context_name: None,
|
||||
context_length: 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue