mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-16 11:31:04 +02:00
fix: fix speech to speech model transitions (#545)
* fix: fix transition logic for realtime providers * chore: run formatter * chore: generate SDK and fix other realtime providers * fix: fix ultravox node transitions
This commit is contained in:
parent
348cd8427b
commit
01acf6ac30
34 changed files with 1282 additions and 617 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# generated by datamodel-codegen:
|
||||
# filename: dograh-openapi-XXXXXX.json.73JcjTo19T
|
||||
# timestamp: 2026-07-11T10:21:09+00:00
|
||||
# filename: dograh-openapi-XXXXXX.json.uTKtHKJw6v
|
||||
# timestamp: 2026-07-15T11:25:06+00:00
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ Re-exports every typed node class so users can write
|
|||
from dograh_sdk.typed.agent_node import AgentNode
|
||||
from dograh_sdk.typed.end_call import EndCall
|
||||
from dograh_sdk.typed.global_node import GlobalNode
|
||||
from dograh_sdk.typed.paygent import Paygent
|
||||
from dograh_sdk.typed.qa import Qa
|
||||
from dograh_sdk.typed.start_call import StartCall
|
||||
from dograh_sdk.typed.trigger import Trigger
|
||||
|
|
@ -18,6 +19,7 @@ __all__ = [
|
|||
"AgentNode",
|
||||
"EndCall",
|
||||
"GlobalNode",
|
||||
"Paygent",
|
||||
"Qa",
|
||||
"StartCall",
|
||||
"Trigger",
|
||||
|
|
|
|||
56
sdk/python/src/dograh_sdk/typed/paygent.py
Normal file
56
sdk/python/src/dograh_sdk/typed/paygent.py
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
"""GENERATED — do not edit by hand.
|
||||
|
||||
Regenerate with `python -m dograh_sdk.codegen` against the target
|
||||
Dograh backend. Source of truth: the backend's model-backed node-spec
|
||||
catalog served from `/api/v1/node-types`.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass, field
|
||||
from typing import Any, ClassVar, Literal, Optional
|
||||
|
||||
from dograh_sdk.typed._base import TypedNode
|
||||
|
||||
|
||||
@dataclass(kw_only=True)
|
||||
class Paygent(TypedNode):
|
||||
"""
|
||||
Cost Tracking and Billing LLM hint: Paygent is a post-call usage-
|
||||
tracking and billing integration. It does not participate in the
|
||||
conversation graph and should not be connected to other nodes.
|
||||
"""
|
||||
|
||||
type: ClassVar[str] = 'paygent'
|
||||
|
||||
paygent_api_key: str
|
||||
"""
|
||||
API key used to authenticate requests to the Paygent REST API.
|
||||
"""
|
||||
|
||||
paygent_agent_id: str
|
||||
"""
|
||||
The agent identifier registered in your Paygent account.
|
||||
"""
|
||||
|
||||
paygent_customer_id: str
|
||||
"""
|
||||
Your Paygent customer / organisation ID.
|
||||
"""
|
||||
|
||||
name: str = 'Paygent'
|
||||
"""
|
||||
Short identifier for this Paygent configuration.
|
||||
"""
|
||||
|
||||
paygent_enabled: bool = True
|
||||
"""
|
||||
When false, Dograh skips all Paygent tracking for this call.
|
||||
"""
|
||||
|
||||
paygent_indicator: str = 'per-minute-call'
|
||||
"""
|
||||
The indicator event name sent at the end of the call (e.g. per-minute-
|
||||
call).
|
||||
"""
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue