feat: add OMP agent config download button - #70
Merged
Conversation
Add downloadable OMP models.yaml configuration file to the dashboard and node detail pages alongside existing OpenCode CLI and Pi agent configs. The YAML format points at the QIIP proxy (dashboard) or individual vLLM endpoints (node detail) for OpenAI-compatible access. fixes: quadsproject#69
sjug
reviewed
Aug 6, 2026
Collaborator
There was a problem hiding this comment.
Thanks, nice and consistent with how the Pi config was added. I checked the generated YAML against the oh-my-pi docs (https://github.com/can1357/oh-my-pi/blob/main/docs/models.md) and the schema and models.yaml filename both check out. A handful of small comments inline; the only one I would really like resolved before merge is the accidentally dropped assertion in the Pi test.
- Use auth: none instead of apiKey: none per OMP docs - Add compat block matching Pi config for llama.cpp backend - Add yamlScalar helper to quote values with special chars - Use application/yaml MIME type (RFC 9512) - Restore dropped assertion in Pi trailing-slash test - Deduplicate _run_node/_run_node_yaml into shared helper - Remove redundant assertion in OMP trailing-slash test - Add test for YAML special character quoting
OMP auto-detects supportsDeveloperRole (false for non-OpenAI hosts) and supportsReasoningEffort (true, which is correct since qiip passes reasoning_effort through and llama.cpp b10242 handles it).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add downloadable OMP
models.yamlconfiguration file to the dashboard and node detail pages alongside existing OpenCode CLI and Pi agent configs.Changes:
generateOmpConfigfunction producing YAML matching OMPmodels.yamlschemadownloadConfigFileto handle string (YAML) content with proper MIME typemodels.yaml) to config download dropdownGenerated YAML format:
fixes: #69