Skip to content

Commit a92f58b

Browse files
committed
correct the links for getting started
1 parent 6771dca commit a92f58b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shiny/_main_generate_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def validate_api_key(provider: str) -> None:
5656
},
5757
"bedrock-anthropic": {
5858
"env_var": None,
59-
"url": "https://docs.aws.amazon.com/bedrock/latest/userguide/setting-up.html",
59+
"url": "https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started.html",
6060
},
6161
}
6262

shiny/pytest/_generate/_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def _validate_model_for_provider(self, model: str) -> str:
180180
if resolved_model.startswith("gpt-") or resolved_model.startswith("o1-"):
181181
raise ValueError(
182182
f"Model '{model}' is an OpenAI model but provider is set to 'bedrock-anthropic'. "
183-
f"Use an Anthropic Bedrock model ID (e.g., 'anthropic.claude-3-5-sonnet-20240620-v1:0')."
183+
f"Use an Anthropic Bedrock model ID (e.g., 'us.anthropic.claude-3-7-sonnet-20250219-v1:0')."
184184
)
185185
return resolved_model
186186

0 commit comments

Comments
 (0)