Skip to content

No summary from AI model if there is too many logs #14

@zanknaf

Description

@zanknaf

Tx explain hits token limit with transactions that have 70+ logs (estimate based on testing).

Possible solutions: Compressing call trace data, Using only asset changes object

Example transaction:
https://etherscan.io/tx/0x3212df955f1ff00f04cab390ad2cd8c21982a6d4cbc8db8805c2aa892975cfb5

Response from claude:
Error streaming explanation: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'prompt is too long: 214668 tokens > 199999 maximum'}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions