Skip to content

fix: use configured model for AI provider connection tests#1029

Open
FaiChou wants to merge 1 commit intoTableProApp:mainfrom
FaiChou:main
Open

fix: use configured model for AI provider connection tests#1029
FaiChou wants to merge 1 commit intoTableProApp:mainfrom
FaiChou:main

Conversation

@FaiChou
Copy link
Copy Markdown
Contributor

@FaiChou FaiChou commented May 6, 2026

Fixes AI provider connection tests for OpenAI-compatible/custom providers to use the configured model name when available, while preserving the existing "test" fallback for empty model fields.

Also treats JSON error bodies as valid API responses even when the Content-Type header is missing or incorrect, so parameter errors from reachable providers do not incorrectly appear as connection failures.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

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