The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
fix AmazonAPIGateway _identifying_params (#7167)
Baichuan Sune27ba9d92bd2
diff --git a/langchain/llms/amazon_api_gateway.py b/langchain/llms/amazon_api_gateway.pyindex a2c0d7ec49..72b269dcba 100644--- a/langchain/llms/amazon_api_gateway.py+++ b/langchain/llms/amazon_api_gateway.py@@ -52,7 +52,7 @@ class AmazonAPIGateway(LLM):"""Get the identifying parameters."""_model_kwargs = self.model_kwargs or {}return {- **{"endpoint_name": self.api_url},+ **{"api_url": self.api_url, "headers": self.headers},**{"model_kwargs": _model_kwargs},}