mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-15 22:42:50 -05:00
feat: Add disappearing tools and thinking component from chat
This commit is contained in:
@ -217,6 +217,11 @@ ChatRootView::ChatRootView(QQuickItem *parent)
|
||||
&Utils::BaseAspect::changed,
|
||||
this,
|
||||
&ChatRootView::isThinkingSupportChanged);
|
||||
connect(
|
||||
&Settings::toolsSettings().debugToolsAndThinkingComponent,
|
||||
&Utils::BaseAspect::changed,
|
||||
this,
|
||||
&ChatRootView::isToolDebugging);
|
||||
}
|
||||
|
||||
ChatModel *ChatRootView::chatModel() const
|
||||
@ -1126,4 +1131,9 @@ bool ChatRootView::isThinkingSupport() const
|
||||
return provider && provider->supportThinking();
|
||||
}
|
||||
|
||||
bool ChatRootView::isToolDebugging() const
|
||||
{
|
||||
return Settings::toolsSettings().debugToolsAndThinkingComponent();
|
||||
}
|
||||
|
||||
} // namespace QodeAssist::Chat
|
||||
|
||||
Reference in New Issue
Block a user