Skip to content

bug: Error fetching models for deepseek: TypeError: Failed to construct 'URL': Invalid base URL #291

@typed-sigterm

Description

@typed-sigterm

Describe the bug

In the tutorial, if choosing DeepSeek as provider, no models are listed in the following Choose model section:

Error fetching models for deepseek: TypeError: Failed to construct 'URL': Invalid base URL
    at Object.listModels (providers.ts:803:25)
    at Proxy.fetchModelsForProvider (providers.ts:1500:85)
    at loadModelsForProvider (consciousness.ts:56:28)
    at consciousness.ts:71:11

The problem is that its Base URL doesn't have a default value.

System Info

N/A

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions