Update AI agent, settings, and terminal modules
- Update AI agent conversation, task, and prompt builder - Add notebooks execution module for blocklist actions - Update Bedrock and OpenAI response translators - Refactor settings modules across multiple subsystems - Update terminal settings and window settings - Update drive settings and search command settings
This commit is contained in:
@@ -2226,11 +2226,9 @@ impl BlocklistAIController {
|
||||
{
|
||||
let history_model = BlocklistAIHistoryModel::as_ref(ctx);
|
||||
if let Some(conversation) = history_model.conversation(&conversation_id) {
|
||||
let has_optimistic_cli_subagent =
|
||||
conversation.has_active_subagent();
|
||||
let has_optimistic_cli_subagent = conversation.has_active_subagent();
|
||||
if !has_optimistic_cli_subagent {
|
||||
request_params.root_task_id =
|
||||
Some(conversation.get_root_task_id().to_string());
|
||||
request_params.root_task_id = Some(conversation.get_root_task_id().to_string());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2435,8 +2433,7 @@ impl BlocklistAIController {
|
||||
{
|
||||
let terminal_view_id = self.terminal_view_id;
|
||||
history_model.update(ctx, |history_model, ctx| {
|
||||
if let Some(conversation) =
|
||||
history_model.conversation_mut(&conversation_id)
|
||||
if let Some(conversation) = history_model.conversation_mut(&conversation_id)
|
||||
{
|
||||
conversation.force_cancel_all_streaming_exchanges(
|
||||
terminal_view_id,
|
||||
|
||||
Reference in New Issue
Block a user