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

fix: Convert messages content to JSON #376

Merged
merged 2 commits into from
May 31, 2024
Merged

fix: Convert messages content to JSON #376

merged 2 commits into from
May 31, 2024

Conversation

whiterabbit1983
Copy link
Contributor

@whiterabbit1983 whiterabbit1983 commented May 31, 2024

🚀 This description was created by Ellipsis for commit 664b93b

Summary:

Introduced a new utility function content_to_json to standardize content conversion across modules and fixed content length calculation.

Key points:

  • Added content_to_json in /agents-api/agents_api/common/utils/messages.py.
  • Utilized content_to_json in /agents-api/agents_api/models/entry/add_entries.py and /agents-api/agents_api/models/entry/entries_summarization.py.
  • Fixed content_length calculation in /agents-api/agents_api/common/protocol/entries.py.

Generated with ❤️ by ellipsis.dev

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 33ac837 in 1 minute and 34 seconds

More details
  • Looked at 95 lines of code in 4 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_YcNjBzd9jDzoNbWZ


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Incremental review on 664b93b in 1 minute and 21 seconds

More details
  • Looked at 96 lines of code in 4 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_YdNN2CRXbYJOBbUn


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@whiterabbit1983 whiterabbit1983 merged commit 46a88fe into dev May 31, 2024
4 checks passed
@whiterabbit1983 whiterabbit1983 deleted the x/content-fixes branch May 31, 2024 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant