2026-02-28 18:03:12 +00:00
|
|
|
package cmd
|
2026-02-28 18:28:27 +00:00
|
|
|
|
2026-02-28 18:41:20 +00:00
|
|
|
import (
|
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
|
"gmgauthier.com/grokkit/internal/grok"
|
|
|
|
|
)
|
2026-02-28 18:28:27 +00:00
|
|
|
|
|
|
|
|
var chatCmd = &cobra.Command{
|
|
|
|
|
Use: "chat",
|
|
|
|
|
Short: "Interactive streaming chat with Grok",
|
|
|
|
|
Run: func(cmd *cobra.Command, args []string) {
|
2026-02-28 18:41:20 +00:00
|
|
|
client := grok.NewClient()
|
|
|
|
|
// TODO: add history + loop (we can expand this later)
|
|
|
|
|
// For now, basic streaming chat can be added in next iteration
|
2026-02-28 18:28:27 +00:00
|
|
|
},
|
|
|
|
|
}
|