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.
180 lines
184 KiB
Plaintext
Generated
180 lines
184 KiB
Plaintext
Generated
httprr trace v1
|
||
536 9839
|
||
POST https://bedrock-runtime.us-east-1.amazonaws.com/model/us.anthropic.claude-opus-4-6-v1/converse-stream HTTP/1.1
|
||
Host: bedrock-runtime.us-east-1.amazonaws.com
|
||
User-Agent: langchaingo-httprr
|
||
Content-Length: 240
|
||
Authorization: AWS4-HMAC-SHA256 test-api-key
|
||
Content-Type: application/json
|
||
|
||
{"additionalModelRequestFields":{"thinking":{"type":"enabled","budget_tokens":1024}},"inferenceConfig":{"maxTokens":4096},"messages":[{"content":[{"text":"Think step by step: What is 17 * 23? Show your reasoning process."}],"role":"user"}]}HTTP/2.0 200 OK
|
||
Content-Length: 9655
|
||
Content-Type: application/vnd.amazon.eventstream
|
||
Date: Tue, 03 Mar 2026 19:47:22 GMT
|
||
X-Amzn-Requestid: dc67fc7f-d96f-49b7-bde5-6e90b027584b
|
||
|
||
|