• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 26796026000
82%

Build:
DEFAULT BRANCH: dev
Ran 02 Jun 2026 03:14AM UTC
Jobs 28
Files 583
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jun 2026 03:13AM UTC coverage: 82.864% (+0.006%) from 82.858%
26796026000

push

github

web-flow
feat: auto-fetch model list from custom endpoints via /v1/models (#2055)

* feat: auto-fetch model list from custom endpoints via /v1/models

Add backend RPC handler `customEndpoints.listModels` that probes
OpenAI-compatible `/v1/models` and Ollama `/api/tags` endpoints,
normalizes responses, and caches results for 30s.

Update custom endpoint editor UI with a "Fetch models" button that
calls the RPC and presents returned models as a selectable list.
Users can check models and add them in bulk, or continue typing
manually. The picker shows model count and last-fetched timestamp.

Works in AddProviderModal, CustomEndpointsSettings, and
ProvidersSettings.

* fix: address review feedback for custom endpoint model fetching

- URL construction: strip /v1 and /v1/models suffixes before appending
  to avoid double paths like /v1/v1/models
- Anthropic normalization: accept type: 'model' and display_name fields
- Anthropic auth: send x-api-key + anthropic-version alongside Authorization
- OpenAI object filter: only reject entries with an explicitly incompatible
  object type, accept entries that omit the field entirely
- Clear fetched models when editor opens/closes or connection fields change
- Extract duplicated handleFetchModels into shared useFetchModels hook
- Update test mocks and add backend tests for new behavior

* fix: address second round of review feedback

- Strip /chat/completions from baseUrl before appending /v1/models
- Add activeRequestRef stale-response guard in useFetchModels
- Use 15s RPC timeout for listCustomEndpointModels
- Surface parseHeaders errors instead of swallowing silently
- Clear selectedFetchedModelIds when fetchedModels changes
- Add backend test for /chat/completions stripping

* fix: reset loading state and strip more bridge URL suffixes

- Reset fetchingModels=false when invalidating stale fetch in useFetchModels
- Strip /api/chat from ollama-native baseUrl before appending /api/tags
- Strip /v1/messages and /v1/messages/... (continued)

9896 of 14446 branches covered (68.5%)

Branch coverage included in aggregate %.

164 of 199 new or added lines in 6 files covered. (82.41%)

180 existing lines in 5 files now uncovered.

82926 of 97571 relevant lines covered (84.99%)

297.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
26
24.59
packages/web/src/components/settings/useFetchModels.ts
5
54.55
13.47% packages/web/src/components/settings/CustomEndpointEditor.tsx
2
85.59
8.82% packages/daemon/src/lib/rpc-handlers/custom-endpoint-handlers.ts
2
43.43
-0.9% packages/web/src/lib/api-helpers.ts

Coverage Regressions

Lines Coverage ∆ File
88
90.57
0.15% packages/daemon/src/lib/providers/openai-responses-bridge/server.ts
83
59.07
1.07% packages/daemon/src/lib/providers/anthropic-to-codex-bridge-provider.ts
5
99.17
-0.66% packages/daemon/src/lib/agent/query-options-builder.ts
3
99.63
0.0% packages/daemon/src/lib/agent/query-runner.ts
1
76.1
-0.52% packages/web/src/components/MessageInput.tsx
Jobs
ID Job ID Ran Files Coverage
1 daemon-0-shared-handlers-workflow - 26796026000.1 02 Jun 2026 03:14AM UTC 167
62.97
GitHub Action Run
2 daemon-online-space-2 - 26796026000.2 02 Jun 2026 03:16AM UTC 334
32.95
GitHub Action Run
3 daemon-online-rpc-2 - 26796026000.3 02 Jun 2026 03:15AM UTC 334
23.84
GitHub Action Run
4 daemon-online-sdk - 26796026000.4 02 Jun 2026 03:15AM UTC 334
22.7
GitHub Action Run
5 daemon-online-lifecycle - 26796026000.5 02 Jun 2026 03:15AM UTC 334
23.1
GitHub Action Run
6 daemon-5-space-runtime-a - 26796026000.6 02 Jun 2026 03:14AM UTC 117
40.38
GitHub Action Run
7 daemon-4-space-migrations-b - 26796026000.7 02 Jun 2026 03:15AM UTC 44
59.96
GitHub Action Run
8 daemon-5-space-runtime-b - 26796026000.8 02 Jun 2026 03:15AM UTC 166
44.5
GitHub Action Run
9 daemon-online-agent-sdk - 26796026000.9 02 Jun 2026 03:15AM UTC 334
22.69
GitHub Action Run
10 daemon-5-space-agent-other - 26796026000.10 02 Jun 2026 03:15AM UTC 260
27.22
GitHub Action Run
11 daemon-online-features-2 - 26796026000.11 02 Jun 2026 03:15AM UTC 334
23.03
GitHub Action Run
12 daemon-1-core - 26796026000.12 02 Jun 2026 03:15AM UTC 340
36.25
GitHub Action Run
13 daemon-online-convo - 26796026000.13 02 Jun 2026 03:15AM UTC 334
22.59
GitHub Action Run
14 daemon-online-space-1 - 26796026000.14 02 Jun 2026 03:15AM UTC 334
33.99
GitHub Action Run
15 daemon-online-rpc-4 - 26796026000.15 02 Jun 2026 03:15AM UTC 334
23.67
GitHub Action Run
16 daemon-online-rewind-1 - 26796026000.16 02 Jun 2026 03:16AM UTC 334
22.84
GitHub Action Run
17 daemon-online-git - 26796026000.17 02 Jun 2026 03:15AM UTC 334
19.51
GitHub Action Run
18 web - 26796026000.18 02 Jun 2026 03:16AM UTC 239
73.8
GitHub Action Run
19 daemon-online-rewind-2 - 26796026000.19 02 Jun 2026 03:15AM UTC 334
23.29
GitHub Action Run
20 daemon-4-space-migrations-a - 26796026000.20 02 Jun 2026 03:15AM UTC 69
38.76
GitHub Action Run
21 daemon-online-websocket - 26796026000.21 02 Jun 2026 03:14AM UTC 334
18.63
GitHub Action Run
22 daemon-4-space-storage - 26796026000.22 02 Jun 2026 03:15AM UTC 152
56.07
GitHub Action Run
23 daemon-online-mcp - 26796026000.23 02 Jun 2026 03:14AM UTC 334
18.9
GitHub Action Run
24 daemon-online-features-1 - 26796026000.24 02 Jun 2026 03:15AM UTC 334
23.46
GitHub Action Run
25 daemon-online-rpc-1 - 26796026000.25 02 Jun 2026 03:15AM UTC 334
19.75
GitHub Action Run
26 daemon-online-components - 26796026000.26 02 Jun 2026 03:15AM UTC 334
18.53
GitHub Action Run
27 daemon-online-rpc-3 - 26796026000.27 02 Jun 2026 03:15AM UTC 334
20.15
GitHub Action Run
28 daemon-online-coordinator - 26796026000.28 02 Jun 2026 03:14AM UTC 323
7.78
GitHub Action Run
Source Files on build 26796026000
  • Tree
  • List 583
  • Changed 13
  • Source Changed 9
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26796026000
  • 2cf5c7e1 on github
  • Prev Build on dev (#26795417273)
  • Next Build on dev (#26801008748)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc