foobara-ollama-api 1.0.0 → 1.0.1
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: 5b62de6a2cd41b4603843e46edd52373ab818547b2a66aa7f30be5cbf9aca55e
|
4
|
+
data.tar.gz: 0bf2c96c770cee3165fb58247d3f3915da54632ef6d96fe373c27c16204f5a92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 777092370034a9017251cfe316037a8830488a68f9d77abf08645dde2d988e625441bdbf5bf71094f5c80510ddf42b8f27ba834704bb3c5b21b74e14e69243f4
|
7
|
+
data.tar.gz: 5f64a8d67c63d35d27ecf6c54f97562bd40fec11cea73a5aaeb570b1e1c7a3459952a69467472bcfd85ec6cdbb32fc91fc466b74da8f69fade7fe714b5ace56b
|
data/CHANGELOG.md
CHANGED
@@ -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,7 +1,7 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Georgi
|
@@ -10,19 +10,39 @@ cert_chain: []
|
|
10
10
|
date: 1980-01-02 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: []
|