Skip to content

[Bug]: Not able to set capabilities remotely #8702

Description

@a411633308

What happened?

We enable RAG and photos uploading.
And now the new features of web search in v 0.7.9 is also in consider.
But the new file attachment is not able to set properly

Version Information

root@chat-ai-dev:/opt/LibreChat# docker images | grep librechat
ghcr.io/danny-avila/librechat-dev latest ce3b00be875a 2 days ago 1.13GB
ghcr.io/danny-avila/librechat-dev d8526cabf79a 4 days ago 1.13GB
ghcr.io/danny-avila/librechat-dev-api latest cd3432a5c3f6 8 days ago 1.18GB
librechat_python-exporter latest 082b00ec5e49 13 day s ago 140MB
ghcr.io/danny-avila/librechat-rag-api-dev-lite latest 8858d2bd9ff5 2 week s ago 1.48GB
ghcr.io/danny-avila/librechat-dev 789ccee68a87 3 week s ago 1.11GB
ghcr.io/danny-avila/librechat-rag-api-dev-lite 6a1dfa1c7fe0 5 week s ago 1.47GB
librechat-python-exporter latest 7f7dd2c8bf0d 2 mont hs ago 140MB
ghcr.io/danny-avila/librechat-api v0.7.8 1b83ccf384fe 2 mont hs ago 1.09GB
ghcr.io/danny-avila/librechat-dev 1f62020d0427 3 mont hs ago 951MB
ghcr.io/danny-avila/librechat-rag-api-dev-lite 817faebddae9 3 mont hs ago 1.31GB
ghcr.io/danny-avila/librechat-dev d6548bf61512 4 mont hs ago 910MB
ghcr.io/danny-avila/librechat-api v0.7.7 212d3f3f4cd8 4 mont hs ago 1.01GB
ghcr.io/danny-avila/librechat-rag-api-dev-lite 6550e7ddf180 4 mont hs ago 1.3GB
ghcr.io/danny-avila/librechat-dev 53c0a8440b01 5 mont hs ago 867MB
ghcr.io/danny-avila/librechat-dev 38a69eaceae3 5 mont hs ago 867MB
ghcr.io/danny-avila/librechat-dev 14ed8a696b7b 5 mont hs ago 866MB
ghcr.io/danny-avila/librechat-dev 227c3130509a 7 mont hs ago 893MB
ghcr.io/danny-avila/librechat-rag-api-dev-lite 095db2c2ff3b 7 mont hs ago 1.29GB
ghcr.io/danny-avila/librechat v0.7.4 57267a8228d9 11 mon ths ago 723MB
ghcr.io/danny-avila/librechat-dev 430709cedf7b 13 mon ths ago 680MB
ghcr.io/danny-avila/librechat-dev 5023786eaff7 13 mon ths ago 680MB
ghcr.io/danny-avila/librechat-rag-api-dev-lite 16a751a280aa 13 mon ths ago 1.88GB
librechat latest 9954bfdc29d1 13 mon ths ago 1.14GB

Steps to Reproduce

  1. set the librechat.yaml file as following:
endpoints:

  agents:

    capabilities: ["file_search", "tools", "actions"]

  1. rebuild the docker imgages with no cache
  2. refresh the browser with no cache and open the remote librechat service, every of "upload for the text", "upload for code interpreter", "artifacts" are properly disabled.

What browsers are you seeing the problem on?

No response

Relevant log output

Only error appears in remote logs:
'
2025-07-28 07:27:26 error: Failed to load service key from file: /app/api/data/auth.json ENOENT: no such file or directory, open '/app/api/data/auth.json'
'

Errors appears in local logs:
'Error getting all prompt groups MongoServerError: cannot nest $ under $in
    at Connection.sendCommand (/app/api/node_modules/mongodb/lib/cmap/connection.js:299:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Connection.command (/app/api/node_modules/mongodb/lib/cmap/connection.js:327:26)
    at async Server.command (/app/api/node_modules/mongodb/lib/sdam/server.js:168:29)
    at async AggregateOperation.executeCommand (/app/api/node_modules/mongodb/lib/operations/command.js:76:16)
    at async AggregateOperation.execute (/app/api/node_modules/mongodb/lib/operations/aggregate.js:87:16)
    at async tryOperation (/app/api/node_modules/mongodb/lib/operations/execute_operation.js:207:20)
    at async executeOperation (/app/api/node_modules/mongodb/lib/operations/execute_operation.js:75:16)
    at async AggregationCursor._initialize (/app/api/node_modules/mongodb/lib/cursor/aggregation_cursor.js:56:26)
    at async AggregationCursor.cursorInit (/app/api/node_modules/mongodb/lib/cursor/abstract_cursor.js:633:27) {
  errorLabelSet: Set(0) {},
  errorResponse: {
    ok: 0,
    errmsg: 'cannot nest $ under $in',
    code: 2,
    codeName: 'BadValue'
  },
  ok: 0,
  code: 2,
  codeName: 'BadValue'
}
'

Screenshots

The same setting in remotely and locally:

REMOTELY

Image

LOCALLY

Image

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions