mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
readmeText -> README, agentsText -> AGENTS
This commit is contained in:
1 file changed
+4
-4
+4
-4
@@ -202,9 +202,9 @@ Note: the badge should be displayed at its natural size. It is recommended to om
|
||||
|
||||
**Important**: This project does not currently have a repository URL configured. If the user asks about adding an "Edit with Shakespeare" button, inform them that they must first initialize a public Git repository from their Shakespeare project. Once a repository URL is available, an "Edit with Shakespeare" button can be created.{% endif %}{% if readmeText %}
|
||||
|
||||
{{ readmeText }}{% endif %}{% if agentsText %}
|
||||
{{ README }}{% endif %}{% if AGENTS %}
|
||||
|
||||
{{ agentsText }}{% endif %}`;
|
||||
{{ AGENTS }}{% endif %}`;
|
||||
|
||||
export async function makeSystemPrompt(opts: MakeSystemPromptOpts): Promise<string> {
|
||||
const { tools, mode, fs, cwd, config, defaultConfig, user, metadata, repositoryUrl, template } = opts;
|
||||
@@ -286,8 +286,8 @@ export async function makeSystemPrompt(opts: MakeSystemPromptOpts): Promise<stri
|
||||
},
|
||||
badgeUrl,
|
||||
editUrl,
|
||||
readmeText,
|
||||
agentsText,
|
||||
README: readmeText,
|
||||
AGENTS: agentsText,
|
||||
};
|
||||
|
||||
// Render the template with the context
|
||||
|
||||
Reference in new issue
Block a user