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: Avatar Type Definitions in Agent/Assistant Schemas #6235

Merged
merged 2 commits into from
Mar 8, 2025

Conversation

danny-avila
Copy link
Owner

Summary

Closes #6234 as introduced by #6210

  • Updated agent schema by removing the specific object type for avatar and using Schema.Types.Mixed.
  • Updated assistant schema similarly to replace the explicit avatar definition.
  • Ensured that the default behavior for avatar remains unchanged.
  • Validated schema consistency and passed local unit tests.

Change Type:

  • Bug fix (non-breaking change which fixes an issue)

Testing:

  • Ran local unit tests to verify schema validation and data consistency.
  • Manually checked avatar field behavior in LibreChat to ensure compatibility.

Checklist:

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have made pertinent documentation changes
  • My changes do not introduce new warnings
  • I have written tests demonstrating that my changes are effective
  • Local unit tests pass with my changes

@danny-avila danny-avila merged commit a846e89 into main Mar 8, 2025
7 checks passed
@danny-avila danny-avila deleted the fix/agent-asst-avatar-mongo-type-error branch March 8, 2025 15:55
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.

[Bug] Error uploading Agent Avatars after #6210
1 participant