Skip to content

feat(ai-gateway): map custom LLM thought signatures - #5080

Merged
chrarnoldus merged 1 commit into
mainfrom
add-thought-signature-mapping-for-custom-llms
Aug 6, 2026
Merged

chrarnoldus merged 1 commit into
mainfrom
add-thought-signature-mapping-for-custom-llms

Conversation

@chrarnoldus

Copy link
Copy Markdown
Contributor

Summary

  • add a validated destination path to custom LLM configurations
  • map camel-case tool-call signatures into the configured nested upstream payload
  • remove transport-only signature fields from mapped chat-completion messages

Testing

  • pnpm --filter web exec jest --runInBand --runTestsByPath "src/lib/ai-gateway/experiments/build-direct-provider.test.ts"
  • pnpm --filter @kilocode/db typecheck
  • pnpm --filter web typecheck
  • pnpm --filter @kilocode/db lint
  • pnpm --filter web lint

@chrarnoldus chrarnoldus self-assigned this Aug 6, 2026
@kilo-code-bot

kilo-code-bot Bot commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • apps/web/src/lib/ai-gateway/experiments/build-direct-provider.ts
  • apps/web/src/lib/ai-gateway/experiments/build-direct-provider.test.ts
  • packages/db/src/schema-types.ts

Reviewed by kimi-k3 · Input: 47.2K · Output: 14.1K · Cached: 591K

Review guidance: REVIEW.md from base branch main

@chrarnoldus
chrarnoldus merged commit 3dd8e5d into main Aug 6, 2026
45 checks passed
@chrarnoldus
chrarnoldus deleted the add-thought-signature-mapping-for-custom-llms branch August 6, 2026 10:01
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.

2 participants