mirror of
https://github.com/vxcontrol/langchaingo.git
synced 2026-07-18 18:54:43 -04:00
1c3dd0fca4
- Upgraded various AWS SDK dependencies in go.mod and go.sum files to their latest versions, improving compatibility and performance. - Introduced automatic caching support for specific Anthropic models, optimizing token usage and reducing costs. - Refactored message processing to include caching logic, ensuring seamless integration with existing functionalities. - Removed deprecated models from tests and updated test cases to validate new caching features and model support.
604 lines
406 KiB
Plaintext
Generated
604 lines
406 KiB
Plaintext
Generated
httprr trace v1
|
||
473 33665
|
||
POST https://bedrock-runtime.us-east-1.amazonaws.com/model/ai21.jamba-1-5-large-v1%3A0/converse-stream HTTP/1.1
|
||
Host: bedrock-runtime.us-east-1.amazonaws.com
|
||
User-Agent: langchaingo-httprr
|
||
Content-Length: 181
|
||
Authorization: AWS4-HMAC-SHA256 test-api-key
|
||
Content-Type: application/json
|
||
|
||
{"inferenceConfig":{"maxTokens":512},"messages":[{"content":[{"text":"Tell me a very short story about a cat."}],"role":"user"}],"system":[{"text":"You are helpful AI assistant."}]}HTTP/2.0 200 OK
|
||
Content-Length: 33480
|
||
Content-Type: application/vnd.amazon.eventstream
|
||
Date: Tue, 03 Mar 2026 15:31:02 GMT
|
||
X-Amzn-Requestid: 78dd5f0a-d338-48a1-ba51-8c8b7cd5f921
|
||
|
||
|