Skip to content

feat: allow manual AI model names for custom providers#943

Merged
datlechin merged 2 commits intoTableProApp:mainfrom
FaiChou:main
Apr 29, 2026
Merged

feat: allow manual AI model names for custom providers#943
datlechin merged 2 commits intoTableProApp:mainfrom
FaiChou:main

Conversation

@FaiChou
Copy link
Copy Markdown
Contributor

@FaiChou FaiChou commented Apr 29, 2026

Summary

Adds a manual model name input in AI provider settings.

Some OpenAI-compatible providers do not expose a /models endpoint. This is common for a few third-party AI APIs and coding-plan providers. Before this change, TablePro only allowed selecting models fetched from the provider, so users could not configure those endpoints even when chat completions worked with a known model name.

Changes

  • Add a model name text field in the AI provider detail sheet
  • Keep the fetched model list as an optional picker when /models is available
  • Trim whitespace before saving the selected or manually entered model
  • Update AI Assistant docs and changelog

Verification

  • Ran xcodebuild -project TablePro.xcodeproj -scheme TablePro -configuration Debug build -skipPackagePluginValidation
  • Retried with CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO
  • Build is blocked locally because Secrets.xcconfig is missing. The standard run is also blocked by missing Mac Development signing assets.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@FaiChou
Copy link
Copy Markdown
Contributor Author

FaiChou commented Apr 29, 2026

I have read the CLA Document and I hereby sign the CLA.

github-actions Bot added a commit that referenced this pull request Apr 29, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bf1199cc2e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread TablePro/Views/Settings/AIProviderDetailSheet.swift
Copy link
Copy Markdown
Member

@datlechin datlechin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@datlechin datlechin merged commit 75dcaf2 into TableProApp:main Apr 29, 2026
1 check 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.

2 participants