Skip to content

Create provider docs for gpustack and xai #274

Closed
@bhouston

Description

@bhouston

These are currently missing. xai and gpustack support have been added in this PR: #273. I also changed ollamaBaseUrl to just baseUrl because it can be used with most providers now. We will need to add xai and gpustack as providers in the documentation. We will have to update the docs to use the baseUrl instead of ollamaBaseUrl in the documentation.

The PR also changed the locations were mycoder.config.js is searched for. It now only searches in the current directory as well as the user's directory. It no longer walks up each directory looking for the first match.

Oops. I notice that the provider called gpustack says its documentation URL is https://mycoder.ai/docs/provider/local-openai. I think I was intending to call gpustack 'local-openai' and we should make that change in the provider list - it should be 'local-openai'. We can mention in the docs that it supports gpustack.

The urls in the code that point to expected docs are in the provider.ts file in the packages/agent code base. We should ensure that all of those exist.

If you are writing docs for a new provider, please reference the existing ones for ideas.

I also added to provider.ts default models for each provider and sometimes default baseUrls and the expected apiKey name (if a key is expected at all). Can you add those defaults to the docs for each provider if they are set?

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