mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-13 08:15:21 +02:00
New before / after / both setting on HTTP tools that controls
when conversation variable extraction runs:
This commit is contained in:
parent
66bc5d3e60
commit
a07c6c4bac
1 changed files with 6 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue