Open Issues Need Help
View All on GitHubAI Summary: Set up GitHub Actions CI workflow for the Gollama project to automate testing and linting. The workflow should run on pushes to `main` and pull requests, checking code formatting, running `go vet`, executing unit tests with race detection, and optionally using `staticcheck`. A CI status badge should be added to the README.
Ollama Golang library
AI Summary: Implement more specific error handling in the Gollama library by defining custom error types for various failure scenarios (e.g., model not found, connection issues, invalid responses) and updating API methods to return these typed errors instead of generic errors. Add documentation for the new error types.
Ollama Golang library
AI Summary: Refactor the Gollama library's `NewClient` function to accept optional parameters for configuring the underlying HTTP client, using the functional options pattern. This includes adding options for setting the host, timeout, keep-alive, transport, and providing a pre-configured HTTP client. Update documentation and examples to reflect these changes.
Ollama Golang library
AI Summary: Implement comprehensive unit tests for the Gollama Go library, covering all core components including client initialization, data structure serialization/deserialization, and API method interactions (both successful and error responses). Use mocking to avoid reliance on a live Ollama server and aim for at least 80% test coverage.
Ollama Golang library
AI Summary: Create a LICENSE file (using the MIT license) and a CONTRIBUTING.md file explaining bug reporting, feature suggestions, and the pull request process for the gollama Go library.
Ollama Golang library
AI Summary: The task involves improving the documentation for the `gollama` Go library. This includes adding comprehensive GoDoc comments to the code and enhancing the README.md file with a logo, improved descriptions, badges, quick start guide, feature list, advanced usage examples, and installation instructions.
Ollama Golang library