Skip to content

custom AI provider not compatible with local setup #56

@Balder86

Description

@Balder86

Describe the bug
Despite configuring a local AI service as http://127.0.0.1:9000, the extension connects to the provided IP but ignores protocol and port by trying to connect on port 443

To Reproduce
Steps to reproduce the behavior:

  1. choose as AI Provider the Custom Endpoint
  2. provide API Endpoint as http://127.0.0.1:9000/v1/chat/completion
  3. provide APIKEY
  4. save settings
  5. try to use the chat assistant
  6. see the error message: Error: connect ECONNREFUSED 127.0.0.1:443

Expected behavior
A connection attempt on port 9000 without SSL

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Arch Linux
  • VSCodium: 1.108..20787
  • PgStudio: 0.8.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions