mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-13 21:42:52 -05:00
fix: Add active project name and path to system prompt
This commit is contained in:
@ -86,7 +86,7 @@ QFuture<QString> ListProjectFilesTool::executeAsync(const QJsonObject &input)
|
||||
return QtConcurrent::run([this]() -> QString {
|
||||
QList<ProjectExplorer::Project *> projects = ProjectExplorer::ProjectManager::projects();
|
||||
if (projects.isEmpty()) {
|
||||
QString error = "Error: No projects found";
|
||||
QString error = "No projects found";
|
||||
throw ToolRuntimeError(error);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user