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:
alabenayed 2026-08-06 15:43:53 +03:00
parent 1bf3ffe429
commit a8482b1a06

View file

@ -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,