feat: add template variable rendering for transfer call destination

This commit is contained in:
Abhishek Kumar 2026-07-02 13:35:25 +05:30
parent 65d46bc313
commit 9966940624
8 changed files with 279 additions and 142 deletions

View file

@ -0,0 +1,15 @@
from api.schemas.tool import TransferCallConfig
def test_transfer_call_destination_accepts_initial_context_template():
config = TransferCallConfig(
destination="{{initial_context.transfer_destination}}",
)
assert config.destination == "{{initial_context.transfer_destination}}"
def test_transfer_call_destination_accepts_provider_specific_literal():
config = TransferCallConfig(destination="provider-specific-destination")
assert config.destination == "provider-specific-destination"