Skip to content

AI Model API Improvements#59

Merged
ric-v merged 3 commits intodev-asterix:mainfrom
ric-v:main
Feb 19, 2026
Merged

AI Model API Improvements#59
ric-v merged 3 commits intodev-asterix:mainfrom
ric-v:main

Conversation

@ric-v
Copy link
Member

@ric-v ric-v commented Feb 19, 2026

This pull request updates the extension to version 0.8.5 and addresses an important bug fix related to the local AI model API implementation. The main changes include adding support for both HTTP and custom ports when connecting to AI model endpoints, making the API key optional for custom endpoints, and updating the changelog and package version accordingly.

AI Model API Improvements

  • Added support for both HTTP and HTTPS protocols and custom ports when connecting to AI model endpoints in AiService.ts. The code now dynamically chooses the protocol and port based on the endpoint URL, improving compatibility with local and custom AI models. [1] [2] [3]
  • Made the API key optional for custom AI providers and only adds the Authorization header if an API key is provided, allowing greater flexibility for local or self-hosted AI endpoints.

Bug Fixes and Documentation

Versioning and Changelog

  • Updated package.json version from 0.8.4 to 0.8.5.
  • Updated CHANGELOG.md to reflect the new version range and document the bug fix. [1] [2]

@ric-v ric-v merged commit 14584a6 into dev-asterix:main Feb 19, 2026
3 of 14 checks passed
@Balder86
Copy link

Yes, I can see the connection being established as provided.
HTTP + custom port work.

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.

custom AI provider not compatible with local setup

2 participants