#1943: Add jan.ai provider documentation
docs
Cluster:
Provider Support Enhancements
added jan.ai provider integration with auto-discovery
- Add jan.ai provider implementation with automatic model discovery
- Update documentation to include jan.ai setup and configuration
- Extend FAQ to mention jan.ai as supported self-hosted option
- Update tsconfig to include Node.js types for type safety
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds a new `jan` model provider with local auto-discovery (fetching `/v1/models` from a default local jan.ai base URL), plus documentation for setup/configuration and a FAQ update. It also tweaks CI/Vitest worker/timeouts and the parallel test runner to improve stability.
The new provider wiring follows the existing implicit-provider pattern (only enabled when auth is present), but there is a correctness issue in the env-key resolution path for `jan` that can cause the provider `apiKey` to be set incorrectly. Additionally, the test runner’s Node memory flag is currently passed in a way that likely has no effect.
<h3>Confidence Score: 3/5</h3>
- This PR is moderately safe to merge, but has a correctness issue in jan provider auth resolution that should be fixed first.
- Most changes are documentation and CI/test tuning, but the jan provider wiring likely assigns an identifier string instead of a resolved credential when using env-based configuration, which can break provider availability/discovery in normal usage. The test runner memory flag change also appears ineffective as implemented.
- src/agents/models-config.providers.ts, scripts/test-parallel.mjs
<!-- greptile_other_comments_section -->
<!-- /greptile_comment -->
Most Similar PRs
#15991: feat: add Novita AI provider support with dynamic model discovery
by Alex-wuhu · 2026-02-14
81.0%
#13295: feat: add Eternal AI provider integration
by peterparkernho · 2026-02-10
78.1%
#3322: fix: merge provider config api into registry model
by nulone · 2026-01-28
75.1%
#7568: feat(agents): add LM Studio auto-discovery and provider support
by sjseo298 · 2026-02-03
75.1%
#12059: feat(agents): Add Azure AI Foundry credential support
by lisanyambere · 2026-02-08
75.0%
#15205: fix(models): normalize google-antigravity api field from google-gem...
by wboudy · 2026-02-13
74.2%
#15356: fix: adding Together AI provider to docs
by riccardogiorato · 2026-02-13
74.1%
#7113: feat(providers): add CommonStack provider support
by flhoildy · 2026-02-02
74.1%
#14475: feat: Add native Azure OpenAI support
by dzianisv · 2026-02-12
73.9%
#7418: feat (amazon-nova): add Amazon Nova 1P provider
by 5herlocked · 2026-02-02
73.8%