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

lsm / neokai / 27651591059 / 18
82%
dev: 82%

Build:
DEFAULT BRANCH: dev
Ran 16 Jun 2026 10:15PM UTC
Files 324
Run time 11s
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

16 Jun 2026 10:12PM UTC coverage: 34.823% (+0.005%) from 34.818%
27651591059.18

push

github

web-flow
feat(providers): add region support to Kimi provider (China vs Global) (#2116)

* feat(providers): add region support to Kimi provider (China vs Global)

Kimi previously hardcoded api.kimi.com (China). Add region-aware endpoint
resolution so users can pick between the China (api.kimi.com) and Global
(api.moonshot.ai) Anthropic-compatible APIs.

- KimiProvider: export KIMI_REGION_ENDPOINTS + resolveKimiRegion(); pick base
  URL from per-session region, then provider-level default region, then
  'china' fallback. Static BASE_URL/OPENAI_BASE_URL retained for backward
  compatibility. Add setDefaultRegion/getDefaultRegion for provider-sync to
  push the configured region onto the instance.
- provider-sync: read region from ProviderRecord.configJson on every sync and
  apply via KimiProvider.setDefaultRegion so existing sessions route to the
  configured endpoint without per-session changes.
- credential-discovery: persisted Kimi rows seeded with configJson
  {region:'china'} so legacy credentials keep their existing behaviour.
- AddProviderModal: region selector visible only on the Kimi card; choice
  persisted into configJson on create.
- ProvidersSettings: region dropdown + Save button on Kimi provider detail
  panels; updates configJson live.
- Tests: region table, resolveKimiRegion defaults, per-session vs
  provider-default precedence, baseUrl override, invalid region fallback,
  separate bridges per region.

* fix(providers): address review on Kimi region UI + parsing

- ProvidersSettings: convert region heading to a real <label for=...> bound
  to the <select id=...> so screen readers announce the field. Matches the
  pattern already used in AddProviderModal.
- ProvidersSettings: disable the region Save button when the staged value
  equals the persisted region, avoiding a needless providers.update + resync
  on no-op clicks.
- kimi-provider: resolveKimiRegion now lowercases incoming region strings so
  hand-crafted payloads using 'CHINA' / 'Global... (continued)

33035 of 94865 relevant lines covered (34.82%)

16.79 hits per line

Source Files on job daemon-0-shared-handlers-workflow - 27651591059.18
  • Tree
  • List 324
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27651591059
  • b747a71f on github
  • Prev Job for on dev (#27651318130.16)
  • Next Job for on dev (#27665191929.11)
  • 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