Skip to content

Enable reasoning summaries by default#2576

Open
chrarnoldus wants to merge 1 commit intomainfrom
christiaan/summary-default
Open

Enable reasoning summaries by default#2576
chrarnoldus wants to merge 1 commit intomainfrom
christiaan/summary-default

Conversation

@chrarnoldus
Copy link
Copy Markdown
Contributor

@chrarnoldus chrarnoldus commented Apr 18, 2026

Opus 4.7 defaults to omitted, which is annoying.

@chrarnoldus chrarnoldus self-assigned this Apr 18, 2026
}

const result = CustomLlmDefinitionSchema.safeParse(parsed);
const result = CustomLlmDefinitionSchema.strict().safeParse(parsed);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Legacy custom LLM definitions can no longer be re-saved

list still returns the raw JSON from custom_llm2, so existing rows that still contain the removed reasoning_summary key will open in the editor unchanged. With .strict() here, clicking Save now fails validation on those untouched records. Normalizing the definition before rendering/editing, or validating non-strictly and saving the parsed value, avoids breaking edits for existing entries.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intentional

@kilo-code-bot
Copy link
Copy Markdown
Contributor

kilo-code-bot bot commented Apr 18, 2026

Code Review Summary

Status: 1 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
apps/web/src/app/admin/custom-llms/CustomLlmsContent.tsx 104 Existing custom LLM rows that still contain reasoning_summary fail validation when re-saved from the admin editor.
Other Observations (not in diff)

Issues found in unchanged code that cannot receive inline comments:

File Line Issue
N/A N/A None.
Files Reviewed (5 files)
  • apps/web/src/app/admin/custom-llms/CustomLlmsContent.tsx - 1 issue
  • apps/web/src/app/api/openrouter/[...path]/route.ts - 0 issues
  • apps/web/src/lib/ai-gateway/providers/index.ts - 0 issues
  • apps/web/src/lib/ai-gateway/providers/openrouter/request-helpers.ts - 0 issues
  • packages/db/src/schema-types.ts - 0 issues

Fix these issues in Kilo Cloud


Reviewed by gpt-5.4-20260305 · 616,018 tokens

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