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

[Go] ollama.Init takes Config #608

Merged
merged 3 commits into from
Jul 13, 2024
Merged

[Go] ollama.Init takes Config #608

merged 3 commits into from
Jul 13, 2024

Conversation

jba
Copy link
Contributor

@jba jba commented Jul 12, 2024

Pass a Config struct to Init instead of just the server address,
to allow for additional configuration options.

By passing a struct, adding options is not a breaking change.

Also make other minor stylistic changes.

go/plugins/ollama/ollama.go Outdated Show resolved Hide resolved
jba added 3 commits July 13, 2024 07:26
Pass a Config struct to Init instead of just the server address,
to allow for additional configuration options.

By passing a struct, adding options is not a breaking change.

Also make other minor stylistic changes.
@jba jba merged commit d17884e into main Jul 13, 2024
5 checks passed
@jba jba deleted the jba/ollama branch July 13, 2024 11:43
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.

2 participants