Spaces:
Sleeping
Sleeping
Update main.go
Browse files
main.go
CHANGED
|
@@ -62,7 +62,7 @@ type DuckDuckGoResponse struct {
|
|
| 62 |
Model string `json:"model"`
|
| 63 |
}
|
| 64 |
|
| 65 |
-
func chatWithDuckDuckGo(messages []struct {
|
| 66 |
Role string `json:"role"`
|
| 67 |
Content string `json:"content"`
|
| 68 |
}, stream bool) {
|
|
|
|
| 62 |
Model string `json:"model"`
|
| 63 |
}
|
| 64 |
|
| 65 |
+
func chatWithDuckDuckGo(c *gin.Context, messages []struct {
|
| 66 |
Role string `json:"role"`
|
| 67 |
Content string `json:"content"`
|
| 68 |
}, stream bool) {
|