8000 Cannot combine LoopAgent, state injection, and curly braces due to lack of global_instructions support · Issue #1235 · google/adk-python · GitHub
[go: up one dir, main page]

Skip to content
Cannot combine LoopAgent, state injection, and curly braces due to lack of global_instructions support #1235
Open
@lucabzt

Description

@lucabzt

Initially I had the problem, that I could not use curly braces in my instructions as it would always be interpreted as a state injection.

I worked around that by providing global_instructions with an InstructionHandler and doing my state injections in the normal instructions.

However, I now wrapped an LLM Agent inside a LoopAgent, which means that I cannot use global_instructions on the LLM Agent anymore.

Now my question is, how can I still
a) Use curly braces in my instructions (I need to explain javascript code to the agent so this is essential)
b) Do state injection
c) Use LoopAgent

I believe these three features cannot be combined which is sad.

Metadata

Metadata

Assignees

Labels

bot_triagedcoreIssues related to the core interface and implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0