Skip to content

Commit e307aa0

Browse files
committed
Enhance AI pipeline with credit guard integration and thinking trace support
- Added `thinkingCredits` to credit usage tracking. - Implemented AI credit guard logic to handle blocked generation scenarios. - Introduced logging for AI thinking traces, capturing reasoning and token usage. - Updated tests to cover new credit guard behavior and thinking trace functionality. - Adjusted generation result handling to accommodate new statuses and usage metrics.
1 parent 90ab60f commit e307aa0

66 files changed

Lines changed: 10514 additions & 187 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "website_openrouter_key" ADD COLUMN "fallback_paused_until" timestamp;

0 commit comments

Comments
 (0)