Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed May 11, 2024
1 parent b9b6084 commit ef448d2
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 ef448d2

Please sign in to comment.