foobara-open-ai-api 0.0.11 → 0.0.12

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: 8c61e466a2f1f4ce7908a205c89f8518e0c0bae5f05f507011352b546e796aa5
4
- data.tar.gz: 0afacf44c3eaf6ff404bcb4e171fc74ecc833d8b97110fac1967ce650045d949
3
+ metadata.gz: b3c5966b6692ffdef84569de5e5087aade3acb26a9d1d9883fff6a0e090c26a8
4
+ data.tar.gz: bd73776101d5e3fa6d1e8f731892161c88ef8f58b3938d2750cd90430da097bf
5
5
  SHA512:
6
- metadata.gz: 1dd6e5433e7d018fd9fb30a45f7fe4af6bcaf899ef2323ec1175bbe4d7383361f4abdf8eed6cff746a5964283bc2f269c43d2e3f0dac301b0b467c53a13c8531
7
- data.tar.gz: db2e7fe5d1f4f8d013d444f164cd727f6c49d5a95d276899545d5a26f144233a0eae3c708dbebff4da44906dbd6f7a108a9d42f4493b79f32ce03a965fb8ad5c
6
+ metadata.gz: 713b5bdc80f81c35da510acc44aff511de9e9eff0100fddc808d49a4c93e64fea826d604d610a9ced37682c10e957af76f8dd06fd2ef4a0a3b0899d0110e60d0
7
+ data.tar.gz: 4a3828d31cea93a4b8163a62182bf3bb2521acf23ba2679c21274b73fa31eab86bd57998aceae94bf0149349648a4eee0db882ecc95f961f15040390d63fd93f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.12] - 2025-03-01
2
+
3
+ - Rename :model to :model_enum to avoid collision with Model in filesystems that are case-insensitive
4
+
1
5
  ## [0.0.11] - 2025-02-19
2
6
 
3
7
  - Cache the list of models in ListModels
@@ -8,7 +8,7 @@ module Foobara
8
8
  http_method :post
9
9
 
10
10
  add_inputs do
11
- model :model, default: Types::ModelEnum::GPT_3_5_TURBO
11
+ model :model_enum, default: Types::ModelEnum::GPT_3_5_TURBO
12
12
  messages :array do
13
13
  role :string, one_of: %w[system user assistant]
14
14
  content :string
@@ -8,7 +8,7 @@ module Foobara
8
8
 
9
9
  ModelEnum = Foobara::Enumerated.make_module(model_list)
10
10
 
11
- OpenAiApi.foobara_register_type(:model, :string, one_of: ModelEnum)
11
+ OpenAiApi.foobara_register_type(:model_enum, :string, one_of: ModelEnum)
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-open-ai-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-02-19 00:00:00.000000000 Z
10
+ date: 2025-03-01 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: foobara-cached-command