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

feat: refactor error handling and output formatting #158

Merged
merged 1 commit into from
Apr 27, 2024
Merged

feat: refactor error handling and output formatting #158

merged 1 commit into from
Apr 27, 2024

Conversation

appleboy
Copy link
Owner

  • Remove unused "fmt" import from commit.go
  • Change error handling to display a message in red without exiting the function
  • Add a condition to set summaryPrix based on msg.Content if no tool calls are found in the message

- Remove unused "fmt" import from commit.go
- Change error handling to display a message in red without exiting the function
- Add a condition to set `summaryPrix` based on `msg.Content` if no tool calls are found in the message

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
@appleboy appleboy merged commit e11029e into main Apr 27, 2024
9 checks passed
@appleboy appleboy deleted the tool branch April 27, 2024 13:09
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.

None yet

1 participant