Skip to content

fix: resolve docker image bugs (version, token copy, GPT default)#37

Merged
carlosatta merged 3 commits intodevelopfrom
fix/issue-36-docker-image-bugs
Apr 2, 2026
Merged

fix: resolve docker image bugs (version, token copy, GPT default)#37
carlosatta merged 3 commits intodevelopfrom
fix/issue-36-docker-image-bugs

Conversation

@carlosatta
Copy link
Copy Markdown
Contributor

Fixes #36

Changes

Version display showing 0.0.1
Service and CLI now read the version dynamically from their respective package.json at startup instead of a hardcoded placeholder.

Token copy not working
navigator.clipboard requires a secure context (HTTPS). When Routerly is self-hosted via Docker and accessed over HTTP (e.g. by IP), copy failed silently. Added an execCommand fallback so copy works in both HTTP and HTTPS contexts.

GPT-4o appearing without configuration
gpt-4o was hardcoded as a fallback model in the playground and project settings. Replaced with the project's actual configured models.

- fix(service): read version dynamically from package.json instead of
  hardcoded '0.0.1' in /health and /api/system/info endpoints
- fix(cli): read version dynamically from package.json
- fix(dashboard): add clipboard fallback for non-secure HTTP contexts
  (navigator.clipboard requires HTTPS; docker self-hosted via IP uses HTTP)
- fix(dashboard): remove hardcoded 'gpt-4o' default in playground and
  project settings — use configured project models instead

Closes #36
@carlosatta carlosatta merged commit 074b932 into develop Apr 2, 2026
1 check passed
@carlosatta carlosatta deleted the fix/issue-36-docker-image-bugs branch April 2, 2026 09:17
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.

Docker image (Settings, cannot copy tokens, cannot connect to models with images)

1 participant