Skip to content

Ask for API base path while configuring OpenAI compatible custom provider #7566

@ringods

Description

@ringods

Describe the bug

💡 Before filing, please check common issues:
https://block.github.io/goose/docs/troubleshooting

📦 To help us debug faster, attach your diagnostics zip if possible.
👉 How to capture it: https://block.github.io/goose/docs/troubleshooting/diagnostics-and-reporting/

A clear and concise description of what the bug is.


To Reproduce
Steps to reproduce the behavior:

  1. Configure an OpenAPI compatible custom provider
  2. Follow the wizard, where the host and an authentication key are asked
  3. No base path is asked.

Expected behavior
A clear and concise description of what you expected to happen.

On Scaleway, the base API URL is https://api.scaleway.ai/v1. User access to AI can also be scoped a specific Scaleway project:

https://www.scaleway.com/en/docs/generative-apis/api-cli/using-generative-apis/#projects

In such cases, the endpoint becomes of the form:

https://api.scaleway.ai/78e655b5-feb0-417c-bb3f-8c448bd0e8da/v1

where 78e655b5-feb0-417c-bb3f-8c448bd0e8da represents the Scaleway Project ID. If I want to configure the custom provider in goose, I want to set 78e655b5-feb0-417c-bb3f-8c448bd0e8da/v1 as the base path in the configuration wizard.


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

Image

Please provide the following information

  • OS & Arch: macOS Tahoe 26.3
  • Interface: CLI
  • Version: 1.25.2
  • Extensions enabled: None. I just installed goose and want to configure my first (custom) provider
  • Provider & Model: None. I just installed goose and want to configure my first (custom) provider

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions