mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
fix(anthropic): remove explanatory comment per repo convention
Address Greptile review feedback: drop the new comment, since this repo's guidance is not to add comments unless explicitly requested.
This commit is contained in:
parent
1bf3ffe429
commit
a8482b1a06
1 changed files with 0 additions and 5 deletions
|
|
@ -1935,11 +1935,6 @@ class AnthropicConfig(AnthropicModelInfo, BaseConfig):
|
|||
output_key="top_k",
|
||||
)
|
||||
|
||||
# ``messages`` must be the last key in the serialized request body: Anthropic's
|
||||
# prompt cache (observed on the Vertex AI global endpoint) keys off the raw
|
||||
# request bytes, and a stable ``system``/``tools`` prefix only hits the cache
|
||||
# on repeat turns when ``messages`` (the part that changes every turn) is
|
||||
# ordered after them, not before.
|
||||
data: Final = {
|
||||
"model": model,
|
||||
**optional_params,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue