mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
fix(search): point the AgentCore region error at AWS_DEFAULT_REGION
boto3's session resolution ignores AWS_REGION, so an operator following the old message still hit the same failure. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
ae18f055ee
commit
49dca4996c
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ class AgentCoreSearchConfig(BaseSearchConfig, BaseAWSLLM):
|
|||
return configured_region
|
||||
raise ValueError(
|
||||
f"Cannot derive the SigV4 signing region from api_base '{api_base}' "
|
||||
"or the AWS configuration chain. Set aws_region_name (or AWS_REGION / "
|
||||
"or the AWS configuration chain. Set aws_region_name (or AWS_DEFAULT_REGION / "
|
||||
"a profile region) to the gateway's region when using a custom hostname."
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue