mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-12 04:55:27 -05:00
refactor: remove hardcoded tools guildelines
This commit is contained in:
@ -98,15 +98,6 @@ void ClientInterface::sendMessage(
|
|||||||
if (chatAssistantSettings.useSystemPrompt()) {
|
if (chatAssistantSettings.useSystemPrompt()) {
|
||||||
QString systemPrompt = chatAssistantSettings.systemPrompt();
|
QString systemPrompt = chatAssistantSettings.systemPrompt();
|
||||||
|
|
||||||
if (isToolsEnabled) {
|
|
||||||
systemPrompt += "\n\n# Tool Usage Guidelines\n\n"
|
|
||||||
"**Multi-tool workflows:**\n"
|
|
||||||
"- Code structure: search_project (symbol mode) → find_and_read_file\n"
|
|
||||||
"- Fix errors: get_issues_list → find_and_read_file → edit\n"
|
|
||||||
"- Verify changes: edit → build_project → get_issues_list\n"
|
|
||||||
"- find_and_read_file supports absolute paths\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
auto project = LLMCore::RulesLoader::getActiveProject();
|
auto project = LLMCore::RulesLoader::getActiveProject();
|
||||||
if (project) {
|
if (project) {
|
||||||
QString projectRules
|
QString projectRules
|
||||||
|
|||||||
Reference in New Issue
Block a user