Replies: 2 comments
-
i think i have found the issue, i was just updating the api with the local docker image, i need to update the worker service as well. |
Beta Was this translation helpful? Give feedback.
0 replies
-
That was the issue, solved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I have introduced a new provider which contains LLM and embeddings methods. The code works perfectly when run through source code as mentioned in the instructions. However, when i build the docker image of api/ which contains the code, and then run the whole project using "docker compose up". The emdeddings does not work and displays the error:Provider {provider} does not exist.
However, the llm defined under the same provider works fine. Also, both embeddings and llm registers fine where the call goes to the models and the model is stored.
2. Additional context or comments
worker-1 | 2025-02-18 22:55:07.800 ERROR [Dummy-5] [indexing_runner.py:96] - consume document failed
worker-1 | Traceback (most recent call last):
worker-1 | File "/app/api/core/indexing_runner.py", line 73, in run
worker-1 | documents = self._transform(
worker-1 | ^^^^^^^^^^^^^^^^
worker-1 | File "/app/api/core/indexing_runner.py", line 696, in _transform
worker-1 | embedding_model_instance = self.model_manager.get_model_instance(
worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker-1 | File "/app/api/core/model_manager.py", line 394, in get_model_instance
worker-1 | provider_model_bundle = self._provider_manager.get_provider_model_bundle(
worker-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
worker-1 | File "/app/api/core/provider_manager.py", line 211, in get_provider_model_bundle
worker-1 | raise ValueError(f"Provider {provider} does not exist.")
Beta Was this translation helpful? Give feedback.
All reactions