Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api_url for openai provider in v0.128.0 #9617

Closed
1 task done
Congyuwang opened this issue Mar 21, 2024 · 3 comments
Closed
1 task done

api_url for openai provider in v0.128.0 #9617

Congyuwang opened this issue Mar 21, 2024 · 3 comments
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant enhancement [core label] setting Feedback for preferences, configuration, etc

Comments

@Congyuwang
Copy link
Contributor

Check for existing issues

  • Completed

Describe the feature

Previous versions allow setting custom api_url for openai, which allows custom reverse proxy.

{
  "assistant": {
    "provider": {
      "type": "openai",
      "api_url": "https://api.openai.com/v1",
      "default_model": "gpt-4-turbo-preview"
    }
  }
}

However, since v0.128, api_url just disappeared?

{
  "assistant": {
    "provider": {
      "name": "openai",
      "default_model": "gpt-4-turbo-preview"
    }
  }
}

Further, what does the change from type to name mean? This is not in the release note.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

@Congyuwang Congyuwang added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Mar 21, 2024
@Moshyfawn Moshyfawn added setting Feedback for preferences, configuration, etc ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant and removed triage Maintainer needs to classify the issue labels Mar 21, 2024
@Moshyfawn
Copy link
Contributor

Moshyfawn commented Mar 21, 2024

You can still specify assistant.provider.api_url.

{
  "assistant": {
    "version": "1",
    "provider": {
      "name": "openai",
      "api_url": "https://api.openai.com/v1"
    }
  }
}

@Moshyfawn
Copy link
Contributor

The assistant settings shape has been updated in #7367 to allow for the proxing of the AI interactions through Zed servers.

@Congyuwang
Copy link
Contributor Author

Ok. Got it. The problem is with my own connection. Sry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai Improvement related to Assistant, Copilot, or other AI features assistant AI feedback for Assistant enhancement [core label] setting Feedback for preferences, configuration, etc
Projects
None yet
Development

No branches or pull requests

3 participants