google adk what will happened when we did not set the output key correctly in the template

 What will happen when we set output wrongly?  



pipeline_runner = LlmAgent(
    name="pipeline_runner",
    model=MODEL,
    description=(
        "Runs and coordinates the delivery pipeline from dev to test to "
        "pre-prod to prod, enforcing promotion gates between stages."
    ),
    instruction=RUNNER_INSTRUCTION,
    tools=[run_pipeline_stage, get_stage_status, get_stage_logs],
    output_key="pipeline_run_report1111",
)


Generally this is what you will get:- 

raise KeyError(f'Context variable not found: `{var_name}`.')

KeyError: 'Context variable not found: `pipeline_run_report`.'


And it looksl like this:

Uploading: 245377 of 245377 bytes uploaded.


Comments

Popular posts from this blog

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

llama cpp running it in google colab