Add initial project files and configurations for clawd_code
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
String buildDefaultSystemPrompt({
|
||||
String? appendSystemPrompt,
|
||||
String? customSystemPrompt,
|
||||
}) {
|
||||
if (customSystemPrompt != null && customSystemPrompt.trim().isNotEmpty) {
|
||||
final parts = <String>[customSystemPrompt];
|
||||
if (appendSystemPrompt != null && appendSystemPrompt.trim().isNotEmpty) {
|
||||
parts.add(appendSystemPrompt);
|
||||
}
|
||||
return parts.join("\n\n");
|
||||
}
|
||||
|
||||
final parts = <String>[
|
||||
"You are Claude Code, an AI assistant for software engineering.",
|
||||
];
|
||||
if (appendSystemPrompt != null && appendSystemPrompt.trim().isNotEmpty) {
|
||||
parts.add(appendSystemPrompt);
|
||||
}
|
||||
return parts.join("\n\n");
|
||||
}
|
||||
Reference in New Issue
Block a user