From 98d610a2940a6a8a8480ed608f736c48286579f4 Mon Sep 17 00:00:00 2001 From: ryan-crabbe-berri Date: Thu, 15 Oct 2026 14:49:38 -0700 Subject: [PATCH] test(e2e): define PromptCacheOptions before ChatBody so its subclasses build --- tests/e2e/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/models.py b/tests/e2e/models.py index d0ad54735bf..2027b327563 100644 --- a/tests/e2e/models.py +++ b/tests/e2e/models.py @@ -360,6 +360,10 @@ class ChatStreamOptions(BaseModel): include_usage: bool +class PromptCacheOptions(BaseModel): + mode: Literal["implicit", "explicit"] + + class ChatBody(BaseModel): model: str messages: Sequence[ChatTurn] @@ -1360,10 +1364,6 @@ class CacheControlInjectionPoint(BaseModel): index: int | None = None -class PromptCacheOptions(BaseModel): - mode: Literal["implicit", "explicit"] - - class LiteLLMParamsBody(BaseModel): """POST /model/new litellm_params: `model` is the only required field; `api_key` et al may be an `os.environ/FOO` reference the proxy resolves at call time.