Skip to content

bug: timecopilot agent fails with large datasets #249

Description

@noamanemobidata

Initial Checklist

What happened?

The actual version does not support large time series datasets! maybe because all records are passed to the LLM ?

Relevant log output

raise ModelHTTPError(status_code=status_code, model_name=self.model_name, body=e.body) from e
pydantic_ai.exceptions.ModelHTTPError: status_code: 400, model_name: gpt-5-mini, body: {'message': 'Input tokens exceed the configured limit

Environment

Macos, python3.13, timecopilot==0.0.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions