You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
the Instructions (instructions) line at the start of the system prompt
#6485
Every eve agent's system prompt starts with a line I didn't write, followed by my instructions.md:
Instructions (instructions)
# Support coordinator at Acme Analytics
Acme Analytics sells a dashboard product. …
This comes from renderInstructionsBlock, which returns `Instructions (${name})\n${content}`. All system-role instructions are joined into this one block. name is the instruction's name when there is exactly one (instructions.md gives instructions), and the literal instructions when there are several or one comes from an extension. Other framework blocks use similar plain labels: the next system block starts with Tasks, and the skills section with Available skills.
I can see why it's there: it separates the author's text from the sections eve adds. A few questions:
Is it meant to be part of the prompt contract? It isn't in the docs, so it's a surprise when inspecting requests. Documenting it, perhaps on the Instructions page, would help.
Could it work with the author's Markdown? A plain-text line before the content means a file that starts with # Heading no longer starts the prompt, and the label isn't a heading itself, so the structure reads oddly. A Markdown heading or an XML-style tag (<instructions>…</instructions>) would keep the separation and fit both Markdown and tag-based prompts. The other blocks (Tasks, Available skills) could use the same form.
Does the model need the name in parentheses?(instructions) is a file or module name, and it doesn't seem to help the model.
Could authors turn it off, for those who want their instructions.md to be the exact start of the system prompt, e.g. when moving an existing prompt to eve and comparing results?
Happy to open an issue for any of these if one is wanted.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Every eve agent's system prompt starts with a line I didn't write, followed by my
instructions.md:This comes from
renderInstructionsBlock, which returns`Instructions (${name})\n${content}`. All system-role instructions are joined into this one block.nameis the instruction's name when there is exactly one (instructions.mdgivesinstructions), and the literalinstructionswhen there are several or one comes from an extension. Other framework blocks use similar plain labels: the next system block starts withTasks, and the skills section withAvailable skills.I can see why it's there: it separates the author's text from the sections eve adds. A few questions:
# Headingno longer starts the prompt, and the label isn't a heading itself, so the structure reads oddly. A Markdown heading or an XML-style tag (<instructions>…</instructions>) would keep the separation and fit both Markdown and tag-based prompts. The other blocks (Tasks,Available skills) could use the same form.(instructions)is a file or module name, and it doesn't seem to help the model.instructions.mdto be the exact start of the system prompt, e.g. when moving an existing prompt to eve and comparing results?Happy to open an issue for any of these if one is wanted.
All reactions