Dynamic vision chat (#22551)

* Improve live context image handling

* Improve chat handling

* Cleanup
This commit is contained in:
Nicolas Mowen
2026-03-20 11:01:46 -06:00
committed by GitHub
parent 34a06ac77b
commit 373bcadef8
2 changed files with 108 additions and 48 deletions
-7
View File
@@ -32,13 +32,6 @@ class ChatCompletionRequest(BaseModel):
le=10,
description="Maximum number of tool call iterations (default: 5)",
)
include_live_image: Optional[str] = Field(
default=None,
description=(
"If set, the current live frame from this camera is attached to the first "
"user message as multimodal content. Use with get_live_context for detection info."
),
)
stream: bool = Field(
default=False,
description="If true, stream the final assistant response in the body as newline-delimited JSON.",