mirror of
https://github.com/foss42/apidash.git
synced 2025-12-05 04:18:56 +08:00
Refactor DashBot
This commit is contained in:
@@ -7,7 +7,7 @@ abstract class AIAgent {
|
||||
|
||||
extension SystemPromptTemplating on String {
|
||||
String substitutePromptVariable(String variable, String value) {
|
||||
return this.replaceAll(":$variable:", value);
|
||||
return replaceAll(":$variable:", value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user