Skip to content

Questions about end_strategy, is it being used? How does it work? #2510

@bgiori

Description

@bgiori

Question

Hi, question about end_strategy. Searching through the code base it looks like it's not actually used anywhere?

I am trying to understand how exactly it works, and based on some testing I am not seeing a significant difference in the number of tool calls being used when setting early vs exhaustive. Wondering if anyone can provide more guidance on if the field is being used, and if so, how it is expected to work with a little more detail.

Thanks!

Additional Context

  • Pydantic AI version: 0.6.0
  • Python version: 3.11

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions