Skip to content

Commit ec1acc5

Browse files
committed
v2.1.0
1 parent 7d15508 commit ec1acc5

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

Ollama/Ollama.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336
buildSettings = {
337337
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
338338
CODE_SIGN_STYLE = Automatic;
339-
CURRENT_PROJECT_VERSION = 2;
339+
CURRENT_PROJECT_VERSION = 3;
340340
DEAD_CODE_STRIPPING = YES;
341341
DEVELOPMENT_TEAM = U238XAT93R;
342342
DONT_GENERATE_INFOPLIST_FILE = NO;
@@ -345,7 +345,7 @@
345345
ENABLE_ON_DEMAND_RESOURCES = NO;
346346
GENERATE_INFOPLIST_FILE = NO;
347347
INFOPLIST_FILE = "$(SRCROOT)/Ollama/Info.plist";
348-
MARKETING_VERSION = 2.0.0;
348+
MARKETING_VERSION = 2.1.0;
349349
PRODUCT_BUNDLE_IDENTIFIER = com.zeitlings.alfred.ollama;
350350
PRODUCT_NAME = "Alfred $(TARGET_NAME)";
351351
SWIFT_VERSION = 5.0;
@@ -357,7 +357,7 @@
357357
buildSettings = {
358358
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
359359
CODE_SIGN_STYLE = Automatic;
360-
CURRENT_PROJECT_VERSION = 2;
360+
CURRENT_PROJECT_VERSION = 3;
361361
DEAD_CODE_STRIPPING = YES;
362362
DEVELOPMENT_TEAM = U238XAT93R;
363363
DONT_GENERATE_INFOPLIST_FILE = NO;
@@ -366,7 +366,7 @@
366366
ENABLE_ON_DEMAND_RESOURCES = NO;
367367
GENERATE_INFOPLIST_FILE = NO;
368368
INFOPLIST_FILE = "$(SRCROOT)/Ollama/Info.plist";
369-
MARKETING_VERSION = 2.0.0;
369+
MARKETING_VERSION = 2.1.0;
370370
PRODUCT_BUNDLE_IDENTIFIER = com.zeitlings.alfred.ollama;
371371
PRODUCT_NAME = "Alfred $(TARGET_NAME)";
372372
SWIFT_VERSION = 5.0;

Ollama/Ollama/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
<key>LSMinimumSystemVersion</key>
1414
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
1515
<key>NSHumanReadableCopyright</key>
16-
<string>Copyright © 2024 Patrick Sy</string>
16+
<string>Copyright © 2024-2025 Patrick Sy</string>
1717
</dict>
1818
</plist>

Ollama/Ollama/Ollama+Chat.swift

+3-4
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ extension Ollama {
6666
response.rerun = 0.1
6767
response.signal(.nowStreaming)
6868
response.response?.append("")
69-
response.behaviour = .init(.replacelast, .auto) // .end
69+
response.behaviour = .init(.replacelast, .auto)
7070
} else {
7171
let messages: [Message] = try FileHandler.appendChat(.assistant, content: streamedMessage)
7272
response.response = messages.formattedMarkdown
73-
response.behaviour = .init(.replace, .auto) // .end
73+
response.behaviour = .init(.replace, .auto)
7474
if Workflow.showModelInFooter, let model: String = Ollama.preferredModel {
7575
response.footer = "⏎ Ask question · ⌘⏎ New chat · ⌥⏎ View history · ⇧⌥⏎ Stop 〈 \(model)"
7676
}
@@ -121,8 +121,7 @@ extension Ollama {
121121
$0.response = messages.formattedMarkdown
122122
$0.behaviour = .init(scroll: .end)
123123
if Workflow.showModelInFooter, let model: String = Ollama.preferredModel {
124-
// $0.footer = "⏎ Ask question · ⌘⏎ New chat · ⌥⏎ View history · ⇧⌥⏎ Stop 〈 \(model)"
125-
$0.footer = "\(model) 〉 ⏎ Ask question · ⌘⏎ New chat · ⌥⏎ View history · ⇧⌥⏎ Stop"
124+
$0.footer = "⏎ Ask question · ⌘⏎ New chat · ⌥⏎ View history · ⇧⌥⏎ Stop 〈 \(model)"
126125
}
127126
}))
128127
}

0 commit comments

Comments
 (0)