mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-06-14 10:19:16 -04:00
refactor: add to template agent roles
This commit is contained in:
@@ -12,6 +12,9 @@ struct Bindings
|
||||
{
|
||||
QString projectDir;
|
||||
QString homeDir;
|
||||
// Role id selected at runtime (e.g. in the chat). Used by the no-arg
|
||||
// `{{ agent_role() }}` template callback; empty falls back to "developer".
|
||||
QString roleId;
|
||||
};
|
||||
|
||||
QString render(const QString &templateSource, const Bindings &bindings,
|
||||
|
||||
Reference in New Issue
Block a user