Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: CrewAI fails to record events when end_timestamp is absent #633

Open
1 of 3 tasks
the-praxs opened this issue Jan 9, 2025 · 0 comments
Open
1 of 3 tasks
Assignees
Labels
bug Something isn't working

Comments

@the-praxs
Copy link
Member

Contact Details

No response

πŸ“¦ Package Version

0.3.21

🎞️ Framework Version

CrewAI 0.95.0

πŸ”Ž Describe the Bug

CrewAI fails to record any event when end_timestamp is absent. This causes the following exception -

πŸ–‡ AgentOps: Failed to send events: API server: Error posting event: Error inserting to table='llms'. Postgres: json['code']='23502'. json['message']='null value in column "end_timestamp" of relation "llms" violates not-null constraint'

Sometimes it can cause conflicts which occur in this exception -

πŸ–‡ AgentOps: Failed to send events: API server: - internal server error

🀝 Contribution

  • Yes, I'd be happy to submit a pull request with these changes.
  • I need some guidance on how to contribute.
  • I'd prefer the AgentOps team to handle this update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants