Skip to content

feat: allow choosing the local server port - #19

Merged
lucasnewman merged 3 commits into
mainfrom
feature/custom-server-port
Jul 22, 2026
Merged

feat: allow choosing the local server port#19
lucasnewman merged 3 commits into
mainfrom
feature/custom-server-port

Conversation

@Lazarus-931

@Lazarus-931 Lazarus-931 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

This closes #9 to allow devs to add a server of their own for model endpoints, which before used to default to 8080, which is restrictive with multiple local servers.

@Lazarus-931 Lazarus-931 added enhancement New feature or request feature-request labels Jul 21, 2026
@Lazarus-931
Lazarus-931 requested a review from Blaizzy July 21, 2026 14:33
Comment thread Sources/Nativ/Features/Chat/ChatConfigurationView.swift Outdated
@lucasnewman

Copy link
Copy Markdown
Collaborator

@Lazarus-931 You need to run xcodegen locally to pick up the new file in the project or it will break the pre-built Xcode project. Other than that, LGTM

Lazarus-931 and others added 3 commits July 22, 2026 08:24
Closes #9

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Per review, the port is global server configuration rather than a
per-chat setting, so the field moves from the Model Configuration
panel to the Developer page's server endpoints panel, next to the
base URL it changes. The port-in-use warning moves with it.
Add the file to the tracked project so opening Nativ.xcodeproj directly
(without regenerating via xcodegen) includes it in the build.
@Lazarus-931
Lazarus-931 force-pushed the feature/custom-server-port branch 2 times, most recently from 58ed977 to 1bcc9e1 Compare July 22, 2026 12:30
@Lazarus-931

Copy link
Copy Markdown
Collaborator Author

@lucasnewman moved the port config to Developer page instead of settings

@lucasnewman
lucasnewman merged commit 905339f into main Jul 22, 2026
2 checks passed
Lazarus-931 added a commit that referenced this pull request Jul 23, 2026
- gated-hf-download and custom-server-port are shipped (PRs #49, #19/#51), not planned/experimental
- reflect merged extras: LM Studio import (#21), chat image paste/screenshot (#39), Developer server port + HF token
- image-gen fit-estimate task done via PR #47; note #46 remaining scope
- add open issue #57 (Homebrew Cask)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Support custom local port for server endpoints (instead of hardcoded 8080)

2 participants