mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2026-07-19 14:13:35 -04:00
Closed
opened 2026-02-22 18:22:22 -05:00 by yindo
·
2 comments
No Branch/Tag Specified
master
5846-bug-when-scrolling-up-scrolling-jumps
refactor-remove-workspace-pfp
5969-bug-stopgenerationbutton-disappears-on-the-first-prompt-that-initiates-an-agent-session
2235-bug-how-to-upload-a-folder-with-subfolders-with-files-to-anythingllm
5990-workspace-update-fails-with-unknown-argument-router_id-v1130v1150-intel-mac
opencomputer-examples
pg
feat/image-generation-translations
feat/image-generation
5924-bug-meeting-summary-fails-with-sincludes-is-not-a-function-when-default-llm-is-anthropic-claude
render
feat/uniform-modal-component
5883-bug-unescaped-content-in-json-strings-being-passed-to-document-generator-tools
5901-bug-api-update-embeddings-fails-prisma-argument-filename-is-missing-on-workspace_documentscreate-desktop-windows-v1141
hybrid-search
1981-translations
5752-bug-prompts-to-local-jan-endpoint-unresponsive
feat-disable-native-tool-calling-env-var
5676-bug-non-ollama-agent-providers-do-not-parse-and-present-reasoning-content
feat/markdown-web-scraping
5717-bug-apiv1documentupload-silently-drops-metadata-field-in-desktop-1130-arg-count-mismatch-nested-payload-key
fix/aibitat-context-overflow
5711-bug-erratic-deepseek-v4-flash-the-agent-model-failed-to-respond-400-the-reasoning_content
5631-feat-custom-api-request-timeouts-for-ai-providers
feat-reasoning-control
feat-agent-clarifying-questions-translations
5583-bug-lm-studio-provider-does-not-present-reasoning-output
5313-normalize-translations
feat/memory-translations
5305-lemonade-embedding-engine-swallows-errors-falsely-reports-documents-as-embedded
5060-bug-agent-interactions-agent-are-not-persisted-to-thread-history-via-api
pptx-subagent
feat-render-images-from-mcp-tool-results
stt-provider-expansion-openai-api-compatible
feat-file-search-agent-tool
feat-native-embedder-job-queue
5189-normalize-translations
feat-file-search-agent-tool-translations
i18n-eslint
5140-auto-migration
5112-bug-openrouter-failed-message-bug
3506-feat-parameters-for-openrouter-models
4992-feat-preserve-scroll-position
4973-bug-markdown-numbered-list-display-in-reasoning-pane
desktop
4938-bug-pending-chat-rerendering-ui-bug
quickstart-env
node-llama-cpp-in-container-cuda
node-llama-cpp-in-container
ollama-in-container
4817-feat-set-cooldown-per-mcp-server
4845-keyboard-shortcuts-to-navigate-in-chat
4844-feat-reorder-threads-by-latest-interaction
standardize-username-constraints-normalize-translations
4792-feat-refactor-workspacepfp-image
1382-embed-ip-improvements
1382-bug-embed-api-improvements
refactor-eslint-frontend
4687-feat-refactor-vector-db-providers
4615-feat-disable-apidocs-with-environment-variable
4559-feat-agent-web-search-enable-ordering-of-results
4599-bug-ollama-race-condition-bug
4572-bug-lmstudio-provided-llm-stopped-working-with-anything-llm-after-upgrading-to-190
4508-agent-youtube-transcript-analysis
4497-feat-workspace-names
frontend-eslint
ollama-lmstudio-auto-context-window
4431-validate-vector-database-connectioN
2019-slash-command-keyboard-selection
microsoft-foundry-provider
4431-validate-vector-database-connection
4325-sys-prompt-var-improvements
3209-feat-apiv1workspacestream-chat-sources-citations
4210-bug-voice-to-text-overwrite
4136-feat-jan-as-a-backend-server-option
4172-feat-openai-o3-support
1.8.3-rerelease
web-push-notifications-service
tasks
3955-feat-jinaai-embedder-provider-support
3921-feat-agent-skills-uiux-improvements
3901-bug-validfunccall-checks-optional-arguments
keyboard-dev
1787-custom-roles-and-permissions
add-jira-slack-data-connector
office-extension-wip
lightmode-dropdown-color-update
3586-bug-agent-flow-function-description-provided-by-user-is-not-seen-in-the-llm-query
3463-bug-agent-continues-to-run-if-request-failed-even-after-exit
3439-feat-call-variables-within-the-flow-api-block-url-field
3282-manager-view-models-workspace
3280-token-counting-server-side-truncation-improvements
3147-bug-embedded-chat-widget---not-considering-query-mode-option-always-working-in-chat-mode
2995-feat-disable-temperature-setting-for-deepseek-r1-deepseek-reasoner-model
2827-feat-perplexity-citations
2866-feat-finally-a-gemini-models-endpoint
2647-feat-hpp-header-for-a-c++-code-file-mime-addition
lancedb-revert
1656-feat-implement-tooltip-ui-designs
2011-feat-bump-perplexity-models
1873-feat-auto-add-and-watch-folder-for-document-uploads
1297-feat-gemini-agent-support
1759-bug-ui-bug-fixes
1686-feat-implement-winston-for-logging
1536-bug-toggling-on-users-can-delete-workspaces-does-not-take-effect
agent-ui-mobile-styles
1522-feat-chromadb-support
1595-bug-unable-to-get-live-web-search-and-browsing-agent-working-using-google-custom-search-engine-error-getaddrinfo-enotfound-http-errno-3008
1582-bug-lm-studio-does-not-allow-for-different-model-selection
1312-bug-usernames-should-not-be-case-sensitive-when-logging-in
1029-feat-hf-serverless-inference-api
1086-feat-implement-normalized-input-fields
knowledge-graph-support
644-bug-uploaded-file-name-does-not-match-the-displayed-file-name-after-the-upload
v1.15.0
v1.14.2
v1.14.1
v1.14.0
v1.13.0
v1.12.1
v1.12.0
v1.11.2
v1.11.1
v1.11.0
v1.10.0
v1.9.1
v1.9.0
v1.8.5
v1.8.4
v1.8.3
v1.8.2
v1.8.1
v1.8.0
v1.7.8
v1.7.6
v1.7.5
v1.7.4
v1.4.0
v1.3.0
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.1
v1.1.0
v1.0.0
Labels
Clear labels
Desktop
Docker
Integration Request
Integration Request
OS: Linux
OS: Mobile
OS: Windows
UI/UX
blocked
bug
bug
core-team-only
documentation
duplicate
embed-widget
enhancement
feature request
github_actions
good first issue
investigating
needs info / can't replicate
possible bug
pull-request
question
stage: specifications
wontfix
Mirrored from GitHub Pull Request
No Label
possible bug
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mintplex-Labs/anything-llm#947
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @git2306 on GitHub (May 22, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1481
How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
I use AnythingLLM Desktop 1.5.5,
LLM Provider: Gemini, Grok, Ollama (local host)....
Embedding Provider: Ollama (local host ) , Model: nomic-embed-text:latest
Vector Database: Chroma (run in docker), http://127.0.0.1:8000
It has been used normally for a few days, including uploading my document and embed to Chroma
One day when I changed Ollama's Embedding Model to another Model, I got the following error
Then change it back to nomic-embed-text:latest from other embed models, or even reinstall AnythingLLM, Ollama, and Chroma, and I will get the same error.
The Chroma Docker Log :
024-05-22 16:57:25 INFO: [22-05-2024 08:57:25] 172.17.0.1:56764 - "GET /api/v1/heartbeat HTTP/1.1" 200
2024-05-22 16:57:25 ERROR: [22-05-2024 08:57:25] Expected collection name that (1) contains 3-63 characters, (2) starts and ends with an alphanumeric character, (3) otherwise contains only alphanumeric characters, underscores or hyphens (-), (4) contains no two consecutive periods (..) and (5) is not a valid IPv4 address, got 11
2024-05-22 16:57:25 Traceback (most recent call last):
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 97, in receive
2024-05-22 16:57:25 return self.receive_nowait()
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 92, in receive_nowait
2024-05-22 16:57:25 raise WouldBlock
2024-05-22 16:57:25 anyio.WouldBlock
2024-05-22 16:57:25
2024-05-22 16:57:25 During handling of the above exception, another exception occurred:
2024-05-22 16:57:25
2024-05-22 16:57:25 Traceback (most recent call last):
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 159, in call_next
2024-05-22 16:57:25 message = await recv_stream.receive()
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 112, in receive
2024-05-22 16:57:25 raise EndOfStream
2024-05-22 16:57:25 anyio.EndOfStream
2024-05-22 16:57:25
2024-05-22 16:57:25 During handling of the above exception, another exception occurred:
2024-05-22 16:57:25
2024-05-22 16:57:25 Traceback (most recent call last):
2024-05-22 16:57:25 File "/chroma/chromadb/server/fastapi/__init__.py", line 78, in catch_exceptions_middleware
2024-05-22 16:57:25 return await call_next(request)
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-05-22 16:57:25 raise app_exc
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-05-22 16:57:25 await self.app(scope, receive_or_disconnect, send_no_error)
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in call
2024-05-22 16:57:25 with collapse_excgroups():
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/contextlib.py", line 158, in exit
2024-05-22 16:57:25 self.gen.throw(typ, value, traceback)
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/utils.py", line 93, in collapse_excgroups
2024-05-22 16:57:25 raise exc
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 191, in call
2024-05-22 16:57:25 response = await self.dispatch_func(request, call_next)
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/chroma/chromadb/server/fastapi/__init_.py", line 92, in check_http_version_middleware
2024-05-22 16:57:25 return await call_next(request)
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 165, in call_next
2024-05-22 16:57:25 raise app_exc
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 151, in coro
2024-05-22 16:57:25 await self.app(scope, receive_or_disconnect, send_no_error)
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 65, in call
2024-05-22 16:57:25 await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-05-22 16:57:25 raise exc
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-05-22 16:57:25 await app(scope, receive, sender)
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 756, in call
2024-05-22 16:57:25 await self.middleware_stack(scope, receive, send)
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 776, in app
2024-05-22 16:57:25 await route.handle(scope, receive, send)
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 297, in handle
2024-05-22 16:57:25 await self.app(scope, receive, send)
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 77, in app
2024-05-22 16:57:25 await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-05-22 16:57:25 raise exc
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/exception_handler.py", line 53, in wrapped_app
2024-05-22 16:57:25 await app(scope, receive, sender)
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 72, in app
2024-05-22 16:57:25 response = await func(request)
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 278, in app
2024-05-22 16:57:25 raw_response = await run_endpoint_function(
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
2024-05-22 16:57:25 return await dependant.call(**values)
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/chroma/chromadb/telemetry/opentelemetry/__init__.py", line 130, in wrapper
2024-05-22 16:57:25 return await f(*args, **kwargs)
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/chroma/chromadb/server/fastapi/__init_.py", line 630, in create_collection
2024-05-22 16:57:25 await to_thread.run_sync(
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/anyio/to_thread.py", line 56, in run_sync
2024-05-22 16:57:25 return await get_async_backend().run_sync_in_worker_thread(
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
2024-05-22 16:57:25 return await future
2024-05-22 16:57:25 ^^^^^^^^^^^^
2024-05-22 16:57:25 File "/usr/local/lib/python3.11/site-packages/anyio/_backends/asyncio.py", line 851, in run
2024-05-22 16:57:25 result = context.run(func, *args)
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/chroma/chromadb/server/fastapi/__init_.py", line 620, in process_create_collection
2024-05-22 16:57:25 return self._api.create_collection(
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/chroma/chromadb/telemetry/opentelemetry/__init__.py", line 143, in wrapper
2024-05-22 16:57:25 return f(*args, **kwargs)
2024-05-22 16:57:25 ^^^^^^^^^^^^^^^^^^
2024-05-22 16:57:25 File "/chroma/chromadb/api/segment.py", line 169, in create_collection
2024-05-22 16:57:25 check_index_name(name)
2024-05-22 16:57:25 File "/chroma/chromadb/api/segment.py", line 79, in check_index_name
2024-05-22 16:57:25 raise ValueError(msg)
2024-05-22 16:57:25 ValueError: Expected collection name that (1) contains 3-63 characters, (2) starts and ends with an alphanumeric character, (3) otherwise contains only alphanumeric characters, underscores or hyphens (-), (4) contains no two consecutive periods (..) and (5) is not a valid IPv4 address, got 11
2024-05-22 16:57:25 INFO: [22-05-2024 08:57:25] 172.17.0.1:56768 - "POST /api/v1/collections?tenant=default_tenant&database=default_database HTTP/1.1" 500
Are there known steps to reproduce?
No response
@timothycarambat commented on GitHub (May 22, 2024):
What is the name of your workspace? Seems like you have characters that it does not like? We simply
slugthe display name you give, so if there are illegal chars for Chroma it will throw a fit and that collection will then be unable to referenced@timothycarambat commented on GitHub (May 22, 2024):
Ah, is your workspace name just the text
11? Chroma apparently now has a 3-char minimum on workspace names. We used to enforce a minimum length but some people didn't like that and it was not required, so we removed it.Make a workspace that is at least 3 chars long when using chroma as apparently the latest version enforces that.
[BUG]: Error: 1 documents failed to addto [GH-ISSUE #1481] [BUG]: Error: 1 documents failed to add