Skip to content

feat(glyph): populate Open WebUI system prompt from llm-profile - #379

Merged
stackptr merged 2 commits into
mainfrom
glyph/open-webui-system-prompt
Mar 17, 2026
Merged

stackptr merged 2 commits into
mainfrom
glyph/open-webui-system-prompt

Conversation

@stackptr

@stackptr stackptr commented Mar 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Sets DEFAULT_SYSTEM_PROMPT from the llm-profile flake input (github:stackptr/llm-profile) via builtins.readFile — update the prompt by bumping the flake input and rebuilding
  • Adds TOOL_SERVER_CONNECTIONS as a Nix value (via builtins.toJSON) pointing to the MCPJungle gateway on http://localhost:8090/mcp
  • Both are non-sensitive and live in the plaintext environment attrset alongside existing config; secrets remain in open-webui-env.age

Test plan

  • Deploy to glyph and verify DEFAULT_SYSTEM_PROMPT is set in the open-webui process env
  • Verify new chats in Open WebUI use the system prompt from llm-profile
  • Verify MCPJungle tools appear in Admin Settings > External Tools

🤖 Generated with Claude Code

stackptr and others added 2 commits March 17, 2026 13:34
… input

Set DEFAULT_SYSTEM_PROMPT by reading the llm-profile flake input
(github:stackptr/llm-profile) at build time. Updating the prompt
only requires bumping the flake input and rebuilding, with no manual
secret editing or database changes.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
TOOL_SERVER_CONNECTIONS contains no sensitive values, so move it out
of the agenix secret into the declarative environment attrset. Use
builtins.toJSON to express the connection config as a Nix value rather
than a raw JSON string.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@stackptr
stackptr merged commit c92896c into main Mar 17, 2026
4 checks passed
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.

1 participant