litellm/tests/unit/llms
quietjules 75a7cf3117
fix(bedrock): treat an empty api_base or runtime endpoint as unset (#51244)
* fix(bedrock): treat an empty api_base or runtime endpoint as unset

* fix(bedrock): keep skipping a non-string runtime endpoint

The earlier change dropped the isinstance check on aws_bedrock_runtime_endpoint, so a non-string value was used as the host. Two Bedrock image tests rely on that value being skipped, as it was before.

* fix(bedrock): treat an empty api_base or runtime endpoint as unset on realtime sessions

* test: type Bedrock realtime endpoint regression parameters

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-11-24 00:36:07 +00:00
..
a2a
aiml
aiohttp_openai
anthropic fix(gemini): keep an empty trailing user turn so Gemini doesn't answer a model-turn 400 (#51311) 2026-11-23 15:45:29 -08:00
apiserpent
aws_polly
azure fix(hosted_vllm,azure): leave the caller's messages untouched when building the chat request (#51841) 2026-11-24 00:22:33 +00:00
azure_ai fix(proxy): size budget reservation from route output cap fields (#51752) 2026-11-20 16:25:09 -08:00
base_llm fix(anthropic): skip a stream data line that is not a JSON object (#53393) 2026-11-22 22:54:02 +00:00
baseten
bedrock fix(bedrock): treat an empty api_base or runtime endpoint as unset (#51244) 2026-11-24 00:36:07 +00:00
bedrock_mantle fix(bedrock): answer 401 instead of 500 when AWS SSO or profile credentials are unusable (#53362) 2026-11-23 13:01:24 -08:00
bigmodel fix(responses): preserve incomplete status in synthetic streams (#52489) 2026-11-19 22:24:50 -08:00
black_forest_labs
brave
bytez
cerebras
chat
chatgpt refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
clarifai
claude_code
clf_ai_gateway
cloudflare
codestral
codex
cohere fix(cohere)!: map tool_choice, reasoning_effort and json_schema response_format on the v2 chat route (#50834) 2026-11-17 18:10:37 +00:00
cometapi
compactifai
crusoe
custom_httpx perf(vertex): stream image edit request bodies (#53877) 2026-11-23 11:14:34 -08:00
dashscope refactor(cost): price generic_cost_per_token with the native calculate (#52816) 2026-11-23 22:00:27 +00:00
databricks fix(mcp): drop hosted MCP tool_choice under drop_params and honor drop_params in Bedrock batch rows (#53697) 2026-11-23 08:51:59 -08:00
dataforseo
datarobot
deepagents
deepgram
deepinfra
deepseek fix(mcp): drop hosted MCP tool_choice under drop_params and honor drop_params in Bedrock batch rows (#53697) 2026-11-23 08:51:59 -08:00
docker_model_runner
duckduckgo
e2b
edenai
elevenlabs
empiriolabs
exa_ai
fal_ai
fastcrw
featherless_ai
firecrawl
fireworks_ai refactor(cost): price generic_cost_per_token with the native calculate (#52816) 2026-11-23 22:00:27 +00:00
friendliai
gdc
gemini fix(vertex_ai): honor Gemini image size and imageConfig controls on generation and edits (#53580) 2026-11-23 09:05:25 -08:00
gigachat
github_copilot fix(github_copilot): convert plain-text documents for native messages (#53554) 2026-11-23 15:06:36 -08:00
gnani feat(gnani): add native Prisma v2.5 and v3 REST transcription support (#52520) 2026-11-23 03:01:32 +00:00
google_pse
gradient_ai
gradium feat(gradium): add text-to-speech support for /v1/audio/speech (#46427) 2026-11-21 23:51:27 +00:00
groq fix(groq): default service_tier when the reply omits it (#52431) 2026-11-18 13:17:14 -08:00
heroku
hosted_vllm fix(hosted_vllm,azure): leave the caller's messages untouched when building the chat request (#51841) 2026-11-24 00:22:33 +00:00
huggingface
hyperbolic
inception
infinity
jina_ai
lambda_ai
langflow
langgraph
laya
lemonade
linkup
litellm_proxy
llamafile
lm_studio
manus
meta
meta_llama
microsoft_365_copilot
milvus
minimax
mistral fix(mistral): map tool call ids to Mistral's 9-char shape on Vertex AI and Bedrock (#53416) 2026-11-22 21:48:55 +00:00
modelscope
mongodb fix(exceptions): keep the provider error body on e.response for SDK callers (#53587) 2026-11-23 07:23:53 +00:00
moonshot feat(moonshot): add Kimi K3 and Together AI Inkling model support (#33922) 2026-11-18 16:26:14 +00:00
morph
nadir
nebius
neosantara
nimble
nlp_cloud
novita
nscale
nvidia_nim
nvidia_riva
oci fix(mcp): drop hosted MCP tool_choice under drop_params and honor drop_params in Bedrock batch rows (#53697) 2026-11-23 08:51:59 -08:00
ocr
ollama fix(ollama): log missing prompt_eval_count through verbose_logger (#52432) 2026-11-18 16:33:44 -08:00
oobabooga
openai fix(vertex_ai): keep Gemini 3+ web search next to function tools and report searches as web_search_call items (#53423) 2026-11-23 07:29:54 +00:00
openai_like feat(perplexity): add the Perplexity Orchestrator provider with cost tracking (#53583) 2026-11-23 07:17:47 +00:00
opencode fix(anthropic)!: send extra_body fields at the top level of the Messages request (#48373) 2026-11-20 06:52:56 -08:00
openrouter
opensandbox
opensearch
ovhcloud
parallel_ai
parasail
pass_through
perplexity fix(cost): bill Perplexity embeddings at the cost Perplexity reports (#53125) 2026-11-20 18:27:27 +00:00
pg_vector
pi fix(harness): surface Pi context compaction events (#52655) 2026-11-18 13:52:03 -08:00
publicai
ragflow
recraft
reducto
replicate
runwayml
s3_vectors
sagemaker fix(sagemaker,bedrock): answer 502 when a 200 AWS event stream decodes to no events or ends mid-frame (#53482) 2026-11-22 23:59:32 +00:00
sail
sambanova
sap fix(sap): token cache (#49260) 2026-11-23 06:03:52 +00:00
scaledown
scaleway
searchapi
searxng
serper
snowflake fix(anthropic): skip a stream data line that is not a JSON object (#53393) 2026-11-22 22:54:02 +00:00
soniox
stability
strands_decider
tavily
tencent
tinyfish
together_ai
tool_loop
topaz
triton
v0
valkey
vercel_ai_gateway
vertex_ai fix(gemini): keep an empty trailing user turn so Gemini doesn't answer a model-turn 400 (#51311) 2026-11-23 15:45:29 -08:00
vllm
volcengine fix(proxy): forward limit, order, after, before and include on GET /v1/responses/{id}/input_items (#51259) 2026-11-20 07:54:26 -08:00
voyage fix(voyage): honor VOYAGE_API_BASE for embeddings (#52645) 2026-11-18 14:38:57 -08:00
wandb
watsonx fix(openai_like): honor the deployment timeout and stream_timeout on async streams (#53442) 2026-11-22 21:52:59 +00:00
webiq
xai
xinference
you_com
zai
__init__.py
test_api_base_trailing_slash_routes.py
test_cache_control_and_reasoning.py
test_custom_llm.py
test_file_content_block.py
test_file_search_responses.py
test_get_complete_url_trailing_slash.py feat(messages): serve vertex ai claude messages on rust only (#52314) 2026-11-19 21:15:10 +00:00
test_lifecycle_fix.py
test_oss_decision.py
test_polling_url_origin_match.py
test_predibase_transformation.py
test_subscription_accounts.py