You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to use dynamic prompt in ADK? I tried creating a variable type_error in state that will change depends on user's input, then use a switch case to set the instructions for agents, but it did not work. I think it is because the agents are initialized once at the beginning of the app - when the state and type_error still None
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
How to use dynamic prompt in ADK? I tried creating a variable
type_error
in state that will change depends on user's input, then use a switch case to set the instructions for agents, but it did not work. I think it is because the agents are initialized once at the beginning of the app - when the state andtype_error
still NoneBeta Was this translation helpful? Give feedback.
All reactions