Skip to content

Commit 843e95b

Browse files
committed
Update services based on release-2025-01-15 of AWS Go SDK
Reference: https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2025-01-15
1 parent 3ce91dc commit 843e95b

4 files changed

+323
-142
lines changed

.latest-tag-aws-sdk-go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
release-2025-01-14
1+
release-2025-01-15

src/aws_bedrock_agent_runtime.erl

+10-10
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,8 @@
13421342
%% <<"inputText">> => string(),
13431343
%% <<"instruction">> := string(),
13441344
%% <<"knowledgeBases">> => list(knowledge_base()()),
1345-
%% <<"promptOverrideConfiguration">> => prompt_override_configuration()
1345+
%% <<"promptOverrideConfiguration">> => prompt_override_configuration(),
1346+
%% <<"streamingConfigurations">> => streaming_configurations()
13461347
%% }
13471348
-type invoke_inline_agent_request() :: #{binary() => any()}.
13481349

@@ -1921,11 +1922,10 @@ get_agent_memory(Client, AgentAliasId, AgentId, MemoryId, MemoryType, QueryMap,
19211922
request(Client, get, Path, Query_, Headers, undefined, Options, SuccessStatusCode).
19221923

19231924
%% @doc
1924-
%% The CLI doesn't support streaming operations in Amazon Bedrock,
1925-
%% including `InvokeAgent'.
19261925
%%
1927-
%% Sends a prompt for the agent to process and respond to. Note the following
1928-
%% fields for the request:
1926+
%% Sends a prompt for the agent to process and respond to.
1927+
%%
1928+
%% Note the following fields for the request:
19291929
%%
19301930
%% To continue the same conversation with an agent, use the same
19311931
%% `sessionId' value in the request.
@@ -1951,8 +1951,11 @@ get_agent_memory(Client, AgentAliasId, AgentId, MemoryId, MemoryType, QueryMap,
19511951
%% session or prompt or, if you configured an action group to return control,
19521952
%% results from invocation of the action group.
19531953
%%
1954-
%% The response is returned in the `bytes' field of the `chunk'
1955-
%% object.
1954+
%% The response contains both chunk and trace attributes.
1955+
%%
1956+
%% The final response is returned in the `bytes' field of the `chunk'
1957+
%% object. The `InvokeAgent' returns one chunk for the entire
1958+
%% interaction.
19561959
%%
19571960
%% The `attribution' object contains citations for parts of the response.
19581961
%%
@@ -2083,9 +2086,6 @@ invoke_flow(Client, FlowAliasIdentifier, FlowIdentifier, Input0, Options0) ->
20832086
%% The agent instructions will not be honored if your agent has only one
20842087
%% knowledge base, uses default prompts, has no action group, and user input
20852088
%% is disabled.
2086-
%%
2087-
%% The CLI doesn't support streaming operations in Amazon Bedrock,
2088-
%% including `InvokeInlineAgent'.
20892089
-spec invoke_inline_agent(aws_client:aws_client(), binary() | list(), invoke_inline_agent_request()) ->
20902090
{ok, invoke_inline_agent_response(), tuple()} |
20912091
{error, any()} |

0 commit comments

Comments
 (0)