foobara-ollama-api 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ec52676f41eda20a6206276c24264772dc9c67fd5603269d63caa3c2d662a81
|
4
|
+
data.tar.gz: 9b9e9d6038bc81893ac94f99f7bb2672bb2a87dfa5297245c55369dbea59b96a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 246faad9ee5c9b7f7e9557eb9dbde7e702c8142196bf9b02720d595c0a30b7eb75a9c038f5f765ba7982f9f2c8f0a0872cf37c97810307cd4ae8b9b23924ab21
|
7
|
+
data.tar.gz: e231e6ff254193667aa1c64c8588b44f45243ec696959aea9d737ee6a1240d80195057bea1d8ab17b549fcf8c44c8caf7a02a081fea25d3a5f30f591650bdcd1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## [1.0.2] - 2025-08-01
|
2
|
+
|
3
|
+
- Fix incorrect ruby version dependency preventing bundle updates
|
4
|
+
|
5
|
+
## [1.0.1] - 2025-07-21
|
6
|
+
|
7
|
+
- Add CachedCommand for List*Models commands like in AnthropicApi and OpenAiApi
|
8
|
+
|
1
9
|
## [1.0.0] - 2025-07-09
|
2
10
|
|
3
11
|
- Add OllamaApi.default_llm_model
|
@@ -1,9 +1,15 @@
|
|
1
|
+
require "foobara/cached_command"
|
2
|
+
|
1
3
|
require_relative "base_command"
|
2
4
|
|
3
5
|
module Foobara
|
4
6
|
module Ai
|
5
7
|
module OllamaApi
|
6
8
|
class ListLocalModels < BaseCommand
|
9
|
+
include CachedCommand
|
10
|
+
|
11
|
+
self.foobara_cache_expiry = 60 * 60
|
12
|
+
|
7
13
|
result [Types::LocalModel]
|
8
14
|
|
9
15
|
path "/tags"
|
@@ -1,9 +1,15 @@
|
|
1
|
+
require "foobara/cached_command"
|
2
|
+
|
1
3
|
require_relative "base_command"
|
2
4
|
|
3
5
|
module Foobara
|
4
6
|
module Ai
|
5
7
|
module OllamaApi
|
6
8
|
class ListRunningModels < BaseCommand
|
9
|
+
include CachedCommand
|
10
|
+
|
11
|
+
self.foobara_cache_expiry = 60 * 60
|
12
|
+
|
7
13
|
result [Types::RunningModel]
|
8
14
|
|
9
15
|
path "/ps"
|
metadata
CHANGED
@@ -1,28 +1,48 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foobara-ollama-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Georgi
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 2025-08-01 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
|
-
name: foobara-
|
13
|
+
name: foobara-cached-command
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
16
|
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version:
|
18
|
+
version: 1.0.0
|
19
|
+
- - "<"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.0.0
|
19
22
|
type: :runtime
|
20
23
|
prerelease: false
|
21
24
|
version_requirements: !ruby/object:Gem::Requirement
|
22
25
|
requirements:
|
23
26
|
- - ">="
|
24
27
|
- !ruby/object:Gem::Version
|
25
|
-
version:
|
28
|
+
version: 1.0.0
|
29
|
+
- - "<"
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: 2.0.0
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: foobara-http-api-command
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - "<"
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: 2.0.0
|
39
|
+
type: :runtime
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - "<"
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 2.0.0
|
26
46
|
email:
|
27
47
|
- azimux@gmail.com
|
28
48
|
executables: []
|
@@ -61,14 +81,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
61
81
|
requirements:
|
62
82
|
- - ">="
|
63
83
|
- !ruby/object:Gem::Version
|
64
|
-
version: 3.4.
|
84
|
+
version: 3.4.0
|
65
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
86
|
requirements:
|
67
87
|
- - ">="
|
68
88
|
- !ruby/object:Gem::Version
|
69
89
|
version: '0'
|
70
90
|
requirements: []
|
71
|
-
rubygems_version: 3.6.
|
91
|
+
rubygems_version: 3.6.2
|
72
92
|
specification_version: 4
|
73
93
|
summary: Ruby Ollama API client using foobara commands
|
74
94
|
test_files: []
|