Error adding Authentication to Actions [REQUIRES UPDATE] #6318
-
What happened?When adding API Authentication to Action, there is an error when saving the Action. If None is selected for Authentication, saving is fine. Expected saving to work with Bearer Authentication and non-empty API Key. This appears related to #6234 Version Informationghcr.io/danny-avila/librechat-dev-api latest 759c631c4ac1 Steps to Reproduce
What browsers are you seeing the problem on?Chrome Relevant log outputerror: Trouble updating the Agent Action this.$__schema._defaultToObjectOptions is not a function ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I was able to fix this by changing LibreChat/packages/data-schemas/src/schema/action.ts Lines 64 to 70 in efed1c4 to metadata: Schema.Types.Mixed |
Beta Was this translation helpful? Give feedback.
-
You can also fix this by updating. Updating Instructions (docker): # Linux command to Remove all existing images
docker images -a | grep "librechat" | awk '{print $3}' | xargs docker rmi
# Windows Powershell
docker images -a | findstr "librechat" | ForEach-Object { docker rmi $_.Split()[2] } Then follow the directions here: https://www.librechat.ai/docs/local/docker#update-librechat |
Beta Was this translation helpful? Give feedback.
I was able to narrow down the problem, but I'm not entirely sure which was the root cause.
The issue was fixed by the following: