feat(ai-proxy): bedrock support tool use (#2730)

This commit is contained in:
rinfx
2025-08-19 16:54:50 +08:00
committed by GitHub
parent bb69a1d50b
commit 890a802481
3 changed files with 194 additions and 25 deletions

View File

@@ -137,9 +137,11 @@ const (
roleSystem = "system"
roleAssistant = "assistant"
roleUser = "user"
roleTool = "tool"
finishReasonStop = "stop"
finishReasonLength = "length"
finishReasonStop = "stop"
finishReasonLength = "length"
finishReasonToolCall = "tool_calls"
ctxKeyIncrementalStreaming = "incrementalStreaming"
ctxKeyApiKey = "apiKey"