Commit e307aa0
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
File tree
- apps
- api
- drizzle/migrations
- meta
- src
- ai-pipeline
- primary-pipeline
- internal
- steps/intake
- utils
- db
- queries
- schema
- lib
- ai-credits
- openrouter-byok
- rest/routers
- trpc/routers
- web/src
- app/(dashboard)/[websiteSlug]
- agent/(settings)
- behavior
- settings/developers
- components
- agents
- conversation/messages
- activity
- tools
- workers/src/queues/ai-agent
- docs
- packages
- jobs/src
- transactional/emails
- types/src/api
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 number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments