File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -481,7 +481,8 @@ conversation."
481
481
(defun gptel-bedrock--fetch-aws-profile-credentials (profile &optional clear-cache )
482
482
" Fetch & cache AWS credentials for PROFILE using aws-cli.
483
483
484
- If PROFILE is the keyword ':static', then it fetches IAM credentials from the aws-cli without any profile argument.
484
+ If PROFILE is the keyword ':static', then it fetches IAM credentials
485
+ from the aws-cli without any profile argument.
485
486
486
487
Non-nil CLEAR-CACHE will refresh credentials."
487
488
(let* ((creds-json
@@ -580,7 +581,8 @@ REGION is one of apac, eu or us."
580
581
(defun gptel-bedrock--curl-args (region profile bearer-token )
581
582
" Generate the curl arguments to get a bedrock request signed for use in REGION.
582
583
583
- PROFILE specifies the aws profile to use for aws configure export-credentials."
584
+ PROFILE specifies the aws profile to use for aws configure
585
+ export-credentials. BEARER-TOKEN is the token used for authentication."
584
586
(let ((bearer-token (or bearer-token (getenv " AWS_BEARER_TOKEN_BEDROCK" )))
585
587
(output-args (unless (memq system-type '(windows-nt ms-dos))
586
588
'(" --output" " /dev/stdout" ))))
You can’t perform that action at this time.
0 commit comments