refactor(prompts): clarified agent and system guidance
- Standardized prompt format, removing XML-like tags. - Emphasized RFC 2119 keywords using bolding across all prompts. - Rewrote the core system prompt with enhanced structure and directives.
This commit is contained in:
@@ -108,7 +108,7 @@ export function parseAgent(
|
||||
});
|
||||
const fields = parseAgentFields(frontmatter);
|
||||
if (!fields) {
|
||||
throw new AgentParsingError(new Error("Invalid agent fields"), filePath);
|
||||
throw new AgentParsingError(new Error(`Invalid agent field: ${filePath}\n${content}`), filePath);
|
||||
}
|
||||
return {
|
||||
...fields,
|
||||
|
||||
Reference in New Issue
Block a user