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
If not specified in the agenteval.yml the following error is reported:
...
File "/agent-evaluation/src/agenteval/plan/plan.py", line 194, in _run_test
target = self._target_factory.create()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/agent-evaluation/src/agenteval/targets/target_factory.py", line 42, in create
return target_cls(**{k: v for k, v in self.config.items() if k != "type"})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BedrockAgentTarget.__init__() missing 2 required positional arguments: 'bedrock_session_attributes' and 'bedrock_prompt_session_attributes'
The BedrockAgentTarget constructor has the two arguments with no defaults.
This issue is reported against the main branch at the linked revision.
The text was updated successfully, but these errors were encountered:
The following two Bedrock Agent parameters are required in the configuration file but there are documented as optional.
Required arguments in the
agenteval.yml
file when targettype: bedrock-agent
:Both are listed as optional in the documentation file.
If not specified in the
agenteval.yml
the following error is reported:The
BedrockAgentTarget
constructor has the two arguments with no defaults.This issue is reported against the main branch at the linked revision.
The text was updated successfully, but these errors were encountered: