We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 502b496 commit f3bda5fCopy full SHA for f3bda5f
src/paperqa/agents/env.py
@@ -317,14 +317,7 @@ async def step(
317
# if given a plain Message, or into LDP as a tool-calling SimpleAgent
318
# should not be responding with a plain Message
319
return ( # type: ignore[unreachable]
320
- [
321
- Message(
322
- content=(
323
- f"Expected a {ToolRequestMessage.__name__} containing"
324
- f" 0+ tool calls, but received a {type(action).__name__}."
325
- )
326
327
- ],
+ [Message(content="You must call tools to proceed.")],
328
self.USE_POST_PROCESSED_REWARD,
329
False,
330
0 commit comments