Skip to content

[BUG]: React agent does not use additional_instructions input #301

@gfreeman-nvidia

Description

@gfreeman-nvidia

Version

0.1.0

Which installation method(s) does this occur on?

PyPi

Describe the bug.

  1. Expect additional_instructions to be appended to system prompt.
  2. Expect additional_instructions to be used when custom system is configured and a default system prompt is used.

Minimum reproducible example

Relevant log output

No response

Other/Misc.

logic error in https://github.com/NVIDIA/AIQToolkit/blob/develop/src/aiq/agent/react_agent/register.py#L85

  1. additional_instructions only examined when custom system_prompt defined.
  2. The variable _prompt_str is discarded.

creating a PR to fix.

Code of Conduct

  • I agree to follow the AIQ toolkit Code of Conduct
  • I have searched the open bugs and have found no duplicates for this bug report

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions