Skip to content

Commit b31731a

Browse files
committed
gptel-bedrock: Linting
* gptel-bedrock.el (gptel-bedrock--fetch-aws-profile-credentials): (gptel-bedrock--curl-args): Fix linter warnings.
1 parent 0737508 commit b31731a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gptel-bedrock.el

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,8 @@ conversation."
481481
(defun gptel-bedrock--fetch-aws-profile-credentials (profile &optional clear-cache)
482482
"Fetch & cache AWS credentials for PROFILE using aws-cli.
483483
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.
485486
486487
Non-nil CLEAR-CACHE will refresh credentials."
487488
(let* ((creds-json
@@ -580,7 +581,8 @@ REGION is one of apac, eu or us."
580581
(defun gptel-bedrock--curl-args (region profile bearer-token)
581582
"Generate the curl arguments to get a bedrock request signed for use in REGION.
582583
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."
584586
(let ((bearer-token (or bearer-token (getenv "AWS_BEARER_TOKEN_BEDROCK")))
585587
(output-args (unless (memq system-type '(windows-nt ms-dos))
586588
'("--output" "/dev/stdout"))))

0 commit comments

Comments
 (0)