mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(durable): persist provider session identities
Assign each conversation its own UUIDv7 and forward it to model requests for prompt-cache affinity. Lazily backfill legacy conversations and cover real Codex cache reuse. Closes #10424
This commit is contained in:
parent
83692682f0
commit
70eceaade6
15 changed files with 363 additions and 23 deletions
|
|
@ -43,8 +43,8 @@ const BUDGETS = {
|
|||
},
|
||||
"packages/durable": {
|
||||
".": {
|
||||
// The built-in tool task validates arguments with pi-ai's TypeBox-based validation, so TypeBox is allowed.
|
||||
maxFiles: 60,
|
||||
// Tool argument validation reaches TypeBox; provider-session creation reaches pi-ai's lean UUID utility.
|
||||
maxFiles: 62,
|
||||
forbid: ["packages/ai/src/index.ts", "packages/ai/src/utils/typebox-helpers.ts"],
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue