Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine chat session doc #7

Merged
merged 2 commits into from
Jan 3, 2024
Merged

Refine chat session doc #7

merged 2 commits into from
Jan 3, 2024

Conversation

kkdai
Copy link
Owner

@kkdai kkdai commented Jan 3, 2024

No description provided.

- Remove `fmt.Println(part)` and replace it with `log.Println(part)`
- Add logging for the message `fmt.Printf("== Me: %s\n== Model:\n", msg)`
- Fix a comment typo. Change `// startNewChatSession : Start a new chat session` to `// startNewChatSession: Start a new chat session`
- Remove unused import `import "fmt"`
- Add error handling for `SendMessage` function

Signed-off-by: Evan Lin <evan.if.lin@linecorp.com>
- Removed unused import `github.com/google/generative-ai-go/genai`
- Changed error message for image recognition failure

Signed-off-by: Evan Lin <evan.if.lin@linecorp.com>
@kkdai kkdai merged commit 388fee5 into main Jan 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant