feat: support claude ai model (#969)

Signed-off-by: chengzw <chengzw258@163.com>
This commit is contained in:
Se7en
2024-06-19 13:53:21 +08:00
committed by GitHub
parent ab1bc0a73a
commit 51dca7055a
4 changed files with 526 additions and 20 deletions

View File

@@ -30,6 +30,7 @@ type chatCompletionRequest struct {
Tools []tool `json:"tools,omitempty"`
ToolChoice *toolChoice `json:"tool_choice,omitempty"`
User string `json:"user,omitempty"`
Stop []string `json:"stop,omitempty"`
}
type streamOptions struct {