New before / after / both setting on HTTP tools that controls

when conversation variable extraction runs:
This commit is contained in:
XI 2026-06-04 00:14:52 +01:00
parent 66bc5d3e60
commit a07c6c4bac

View file

@ -142,6 +142,12 @@ class HttpApiConfig(BaseModel):
default=None, description="Recording ID for an audio custom message."
)
variable_extraction_timing: Literal["before", "after", "both"] = Field(
default="before",
description="When to run variable extraction relative to the tool call (before, after, or both)",
)
@field_validator("method", mode="before")
@classmethod
def validate_method(cls, v: Any) -> str: