- Migrate `compress_image.go` to `internal/imageutil` for better encapsulation. - Reorganize LLM provider implementations into distinct packages (`google`, `openai`, and `anthropic`). - Replace `go_llm` package name with `llm`. - Refactor internal APIs for improved clarity, including renaming `anthropic` to `anthropicImpl` and `google` to `googleImpl`. - Add helper methods and restructure message handling for better separation of concerns.
12 lines
250 B
Go
12 lines
250 B
Go
// Package google provides the Google LLM provider.
|
|
package google
|
|
|
|
import (
|
|
llm "gitea.stevedudenhoeffer.com/steve/go-llm"
|
|
)
|
|
|
|
// New creates a new Google LLM provider with the given API key.
|
|
func New(key string) llm.LLM {
|
|
return llm.Google(key)
|
|
}
|