Skip to content

Anthropic Prompt Driver is Truncating Output - possibly due to the default of 1000 on max_tokens #1982

Description

@ian-massingham

Agents using the anthropic_prompt_driver are producing truncated output. This seems to be addressed by passing the max_tokens kwarg to the agent with large value (max is 8192).

Would it be possible (or a good idea) to add info level logging to report if max tokens is hit?

AND/OR

to increase the default value for max_tokens significantly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions