diff options
Diffstat (limited to 'example.go')
| -rw-r--r-- | example.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -10,7 +10,12 @@ func ExampleChat() *Chats { t := conversation.AddTable() t.AddRow([]string{"apple", "pear"}) - conversation.AddGeminiComment("funny") + gchat := conversation.AddGeminiComment("funny") + + snip := new(CodeSnippet) + snip.Filename = "log/snip1.txt" + gchat.Snippets = append(gchat.Snippets, snip) + conversation.AddUserComment("yes") conversation.AddGeminiComment("I like astronomy") |
