Skip to content

fix: allow creating markdown (.md) files (fixes #11)#22

Open
kagura-agent wants to merge 1 commit intoopen-gitagent:mainfrom
kagura-agent:fix/11-not-able-to-create-md-files
Open

fix: allow creating markdown (.md) files (fixes #11)#22
kagura-agent wants to merge 1 commit intoopen-gitagent:mainfrom
kagura-agent:fix/11-not-able-to-create-md-files

Conversation

@kagura-agent
Copy link

Problem

Users cannot create markdown (.md) files. The system prompt instructions for file creation in the workspace directory did not mention markdown files, causing the agent to be unsure where to place .md files or whether they should be treated as workspace artifacts.

The file type lists in 4 separate system prompt locations only mentioned: documents, PDFs, images, spreadsheets, code output, exports, assets, text files — but never markdown.

Fix

Added "markdown files" to all file creation instructions across:

  • src/loader.ts — main system prompt workspace instructions
  • src/voice/server.ts — browser voice UI, Telegram, and WhatsApp system prompts

Also added workspace/todo.md as an example path so the agent knows .md files belong in workspace/ by default.

Changes

  • src/loader.ts: Added "markdown files" to the file type list and workspace/todo.md example
  • src/voice/server.ts: Added "markdown files" to 3 system prompt locations (browser, Telegram, WhatsApp)

Fixes #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not able to create .md files.

1 participant