Skip to content

feat(insights): support OpenAI-compatible endpoints - #1430

Merged
wesm merged 6 commits into
kenn-io:mainfrom
rodboev:pr/1363-openai-insights
Aug 16, 2026
Merged

feat(insights): support OpenAI-compatible endpoints#1430
wesm merged 6 commits into
kenn-io:mainfrom
rodboev:pr/1363-openai-insights

Conversation

@rodboev

@rodboev rodboev commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Insight generation currently depends on one of five agent CLIs, which prevents local endpoint use in containers. Adds a selectable OpenAI-compatible chat-completions endpoint with env-backed credentials, bounded errors, and unchanged CLI behavior when endpoint configuration is absent.

Closes #1363

@roborev-ci

roborev-ci Bot commented Aug 16, 2026

Copy link
Copy Markdown

roborev: Combined Review (2b84580)

The change is generally sound, but one medium-severity cache invalidation issue remains.

Medium

  • internal/server/insights.go:484 — Canned-insight cache keys identify only the selected CLI agent. Changes to [insights]—including enabling it or changing the backend, model, or endpoint—can therefore return a report cached under the previous configuration. Because the frontend does not expose force_refresh, the new configuration may appear ineffective. Include the effective generation backend and model, plus a safe hash of the endpoint, in CannedCacheKey; retain the selected agent identity for CLI mode.

Reviewers: 2 done | Synthesis: codex, 12s | Total: 7m20s

@roborev-ci

roborev-ci Bot commented Aug 16, 2026

Copy link
Copy Markdown

roborev: Combined Review (535b1aa)

No issues found.


Reviewers: 2 done | Synthesis: codex | Total: 6m4s

@wesm
wesm merged commit 7a1eff5 into kenn-io:main Aug 16, 2026
16 checks passed
wesm added a commit to salmonumbrella/agentsview that referenced this pull request Aug 16, 2026
…dy-core

* origin/main: (25 commits)
  ci: retry failed Docker image builds (kenn-io#1437)
  Speed up HTTP sync by processing only changed sessions (kenn-io#1414)
  chore: remove dead code and unused frontend exports (kenn-io#1434)
  fix(parser): populate Kimi session cwd (kenn-io#1427)
  feat(frontend): add raw and formatted tool output display (kenn-io#1424)
  feat(insights): support OpenAI-compatible endpoints (kenn-io#1430)
  fix(parser): support legacy Zed thread schemas (kenn-io#1429)
  perf(signals): index duplicate prompt comparisons (kenn-io#1425)
  fix(config): honor explicit empty agent directory arrays (kenn-io#1423)
  feat(parser): add DeepSeek Harness session support (kenn-io#1402)
  test(sync): wait for archive audit stall state (kenn-io#1422)
  chore(deps): update github actions dependencies (kenn-io#1421)
  Tombstone stored Claude sessions a complete full parse no longer emits (kenn-io#1392)
  fix(sync): report stalled syncs as unhealthy (kenn-io#1419)
  Reduce idle CPU and let users turn off unused providers (kenn-io#1374)
  fix(serve): survive dual-stack port collisions at startup (kenn-io#1406)
  fix(sync): bound startup reconciliation and expose daemon identity (kenn-io#1413)
  fix(deps): update module golang.org/x/mod to v0.40.0 [security] (kenn-io#1400)
  Persist Claude and Codex freshness digests across engine restarts (kenn-io#1393)
  fix(sync): add lifecycle logging (kenn-io#1399)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Insights: allow an OpenAI-compatible endpoint instead of an agent CLI

2 participants