Skip to content

fix(content): recover invalid Kimi strategy output - #64

Merged
salim4n merged 7 commits into
devfrom
fix/noosphere-editorial-strategy-kimi-56
Aug 21, 2026
Merged

fix(content): recover invalid Kimi strategy output#64
salim4n merged 7 commits into
devfrom
fix/noosphere-editorial-strategy-kimi-56

Conversation

@salim4n

@salim4n salim4n commented Aug 21, 2026

Copy link
Copy Markdown
Member

Closes the live PTC blocker discovered while preparing #56.

  • keeps Kimi K3 max thinking with provider-compatible automatic tool selection
  • validates and retries malformed structured output once with exact schema feedback
  • records sanitized failed AI runs and returns a recoverable 502 contract
  • adds unit and HTTP regression coverage

Validation:

  • bun run check (421 unit/HTTP + 43 crawler + production builds)
  • bun run test:integration (124 pass)
  • live Kimi call: HTTP 201, 5 pillars, prompt v2

@salim4n
salim4n merged commit 5e3c506 into dev Aug 21, 2026
1 check passed
@salim4n
salim4n deleted the fix/noosphere-editorial-strategy-kimi-56 branch August 21, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant