Repository navigation
[WRONG BRANCH] docs(routing): cite what the prompt-caching guide actually says (#4546) #4765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5ee7f63
e187d2e
3ae8ca7
44392b5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -268,9 +268,10 @@ Pool mode routes across main plus added Codex credentials. Key rules: | |
| Every domain carries `evidence` alongside its provenance: a rule that documents only that two | ||
| credentials are in different domains never lets an equal key mean "shared". OpenAI's cache rule | ||
| is the case that forces it — caches are documented as not shared across organizations or | ||
| processing regions, while changing keys inside one organization is documented as not | ||
| guaranteeing a hit, so a different org or region relates `distinct` and the same org and region | ||
| relates `unknown`. OpenAI quota, Anthropic workspace cache, and Azure deployment domains carry | ||
| regional processing boundaries, while no documentation states that two keys inside one | ||
| organization do share a cache, so a different org or region relates `distinct` and the same org | ||
| and region relates `unknown`. The absent promise is what withholds `shared` there, not a | ||
| documented denial. OpenAI quota, Anthropic workspace cache, and Azure deployment domains carry | ||
|
Comment on lines
+271
to
+274
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This now says the result follows from an absent promise, but AGENTS.md reference: structure/AGENTS.md:L61-L63 Useful? React with 👍 / 👎. |
||
| the sharing half as well and still relate `shared`. | ||
| - **A declared credential group cannot mean two things** (`src/routing/identity-domains.ts`, | ||
| `src/config.ts`). `credentialGroupIssues` is the one definition of a valid grouping: unique | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prompt_cache_keyThe quoted routing statement describes
prompt_cache_key, not API credentials. Placing it immediately after “two API keys” and referring only to “keys” makes it sound as though the provider documents API-key routing, recreating the source-attribution ambiguity this change is meant to fix. Nameprompt_cache_keyexplicitly or remove this sentence, since its routing behavior supplies no evidence about cache sharing between two API credentials.Useful? React with 👍 / 👎.