refactor: Change handling finished tools and thinking blocks

This commit is contained in:
Petr Mironychev
2025-11-14 01:46:36 +01:00
parent f5a445b021
commit 8570b9667a
8 changed files with 10 additions and 36 deletions

View File

@ -217,11 +217,6 @@ ChatRootView::ChatRootView(QQuickItem *parent)
&Utils::BaseAspect::changed,
this,
&ChatRootView::isThinkingSupportChanged);
connect(
&Settings::toolsSettings().debugToolsAndThinkingComponent,
&Utils::BaseAspect::changed,
this,
&ChatRootView::isToolDebugging);
}
ChatModel *ChatRootView::chatModel() const
@ -1131,9 +1126,5 @@ bool ChatRootView::isThinkingSupport() const
return provider && provider->supportThinking();
}
bool ChatRootView::isToolDebugging() const
{
return Settings::toolsSettings().debugToolsAndThinkingComponent();
}
} // namespace QodeAssist::Chat