Skip to content

Commit aedf076

Browse files
committed
feat(utils): Fix linting
for the PR google#3673 & commit: 96e2f82
1 parent 7394546 commit aedf076

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

  • contributing/samples/nested_state_agent

contributing/samples/nested_state_agent/agent.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77

88

99
def inject_nested_state(callback_context: CallbackContext):
10-
callback_context.state["user"] = {
11-
# "name": "Jainish",
12-
# "profile": {"age": 24, "role": "Software Engineer"},
13-
}
14-
logging.info("State populated with nested user object.")
10+
callback_context.state["user"] = {
11+
# "name": "Jainish",
12+
# "profile": {"age": 24, "role": "Software Engineer"},
13+
}
14+
logging.info("State populated with nested user object.")
1515

1616

1717
async def build_instruction(readonly_context: ReadonlyContext) -> str:
18-
print(readonly_context.state)
19-
template = (
20-
"Current user is {{user?.name?}} and {{user?.profile?.role?}}. Please greet"
21-
" them by name and designation."
22-
)
23-
return await inject_session_state(template, readonly_context)
18+
print(readonly_context.state)
19+
template = (
20+
"Current user is {{user?.name?}} and {{user?.profile?.role?}}. Please"
21+
" greet them by name and designation."
22+
)
23+
return await inject_session_state(template, readonly_context)
2424

2525

2626
agent = Agent(

0 commit comments

Comments
 (0)