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

🤖 feat: Add Agents librechat.yaml Configuration #4953

Merged
merged 3 commits into from
Dec 12, 2024
Merged

Conversation

danny-avila
Copy link
Owner

@danny-avila danny-avila commented Dec 11, 2024

Summary

I added agents configuration support and improved the accessibility of the code interpreter toggle.

  • Updated EndpointController.js to handle agents configuration from app.locals.
  • Modified AgentConfig.tsx and AgentPanel.tsx to properly use agentsConfig.
  • Improved the accessibility of the code interpreter toggle in Code.tsx by replacing a div with a button.
  • Incremented CONFIG_VERSION to v1.1.9 and added agents configuration setup in AppService.js.
  • Created agents.js in api/server/services/start/ to handle agents configuration initialization.
  • Updated librechat-data-provider package to include agentsEndpointSchema.

Related docs PR: LibreChat-AI/librechat.ai#178

Change Type

  • New feature (non-breaking change which adds functionality)

Testing

I tested the agents configuration by:

  • Updating the librechat.yaml file to include agents configuration settings.
  • Starting the application and verifying that the agents endpoint reads the configuration correctly.
  • Confirmed that the agents are functioning as expected within the application.
  • Tested the code interpreter toggle to ensure it is keyboard accessible and that it correctly toggles the code interpreter feature.

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have commented in any complex areas of my code
  • I have made pertinent documentation changes
  • My changes do not introduce new warnings
  • Local unit tests pass with my changes

@danny-avila danny-avila merged commit e82af23 into main Dec 12, 2024
4 checks passed
@danny-avila danny-avila deleted the feat/agent-config branch December 12, 2024 13:58
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