Skip to content

Commit

Permalink
Merge pull request #550 from danemadsen/main
Browse files Browse the repository at this point in the history
work on #530
  • Loading branch information
danemadsen authored May 11, 2024
2 parents ca9e8bf + ef448d2 commit a9a7e36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/classes/ollama_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ class OllamaModel extends LargeLanguageModel {
if (useDefault) {
chat = ChatOllama(
baseUrl: '$uri/api',
headers: { 'Authorization': 'Bearer: $token' },
defaultOptions: ChatOllamaOptions(
model: name,
seed: seed
Expand Down

0 comments on commit a9a7e36

Please sign in to comment.