[GH-ISSUE #4251] [BUG]: Version 1.8.1+ do not work with AWS titan embed text via LiteLLM #2704

Closed
opened 2026-02-22 18:30:52 -05:00 by yindo · 1 comment
Owner

Originally created by @mbaaku on GitHub (Aug 6, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4251

Originally assigned to: @shatfield4 on GitHub.

How are you running AnythingLLM?

Docker (remote machine)

What happened?

Last version of anything-llm image that seem to work is 1.8.0, anything past that doesn't. Something apparently changed because when I move and embed any document in workspace I'm getting
[failed_to_embed]: 400 litellm.UnsupportedParamsError: bedrock does not support parameters: {'encoding_format': 'base64', for model=amazon.titan-embed-text-v2:0. When I set 'drop_params: true' in litellm. It responds with 'Bad request'. So apparently anythingllm encodes now everything in base64 format even if the models do not support it.

Are there known steps to reproduce?

Install anyting-llm 1.8.1+ with AWS Titan v2 via Litellm (any version)

Originally created by @mbaaku on GitHub (Aug 6, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4251 Originally assigned to: @shatfield4 on GitHub. ### How are you running AnythingLLM? Docker (remote machine) ### What happened? Last version of anything-llm image that seem to work is 1.8.0, anything past that doesn't. Something apparently changed because when I move and embed any document in workspace I'm getting `[failed_to_embed]: 400 litellm.UnsupportedParamsError: bedrock does not support parameters: {'encoding_format': 'base64', for model=amazon.titan-embed-text-v2:0`. When I set 'drop_params: true' in litellm. It responds with 'Bad request'. So apparently anythingllm encodes now everything in base64 format even if the models do not support it. ### Are there known steps to reproduce? Install anyting-llm 1.8.1+ with AWS Titan v2 via Litellm (any version)
yindo added the needs info / can't replicate label 2026-02-22 18:30:52 -05:00
yindo closed this issue 2026-02-22 18:30:52 -05:00
Author
Owner

@shatfield4 commented on GitHub (Dec 22, 2025):

I am using the bedrock/amazon.titan-embed-text-v2:0 embedding model and it is working as expected when I set the drop_params: True in the config.

Adding this to the bottom of your config.yaml file should fix the issue:

litellm_settings:
  drop_params: True

Be sure to restart your litellm instance/container after updating the config.

@shatfield4 commented on GitHub (Dec 22, 2025): I am using the `bedrock/amazon.titan-embed-text-v2:0` embedding model and it is working as expected when I set the `drop_params: True` in the config. Adding this to the bottom of your config.yaml file should fix the issue: ``` litellm_settings: drop_params: True ``` Be sure to restart your litellm instance/container after updating the config.
yindo changed title from [BUG]: Version 1.8.1+ do not work with AWS titan embed text via LiteLLM to [GH-ISSUE #4251] [BUG]: Version 1.8.1+ do not work with AWS titan embed text via LiteLLM 2026-06-05 14:48:04 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2704