aia 0.9.10 → 0.9.11

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: 0c3bcf7e4888283a1ce66733f83d4d3ec1dc95420a7898462cc571ff6ccb134c
4
- data.tar.gz: 07733fe911886e651569e1310a078474abf61f7f9cdeb16cfd9154758d936af5
3
+ metadata.gz: a34bf2866403e69478bb78e4bbb058b25d4997d7c08518434c881122ec545320
4
+ data.tar.gz: 2d070d34381d69a46f097ce91a296c1c1c13c9b88e97fe2b770f3e82bce94854
5
5
  SHA512:
6
- metadata.gz: 94beb5af35dfcd044c7932eca574ab3c5c7a8451c303a99786e84096458927090a1886aefc83e02bf530e5bf6bcee0cba7ea7cbb5177efca1f3042670b8df8ff
7
- data.tar.gz: 99e1f1ea2a751176d828f9c0cc18224875866977a21b91a8adceff6d8b339ac09632b55b8858ff3b4231e4d0e83180f9adfc340d3e0d76144f284288831317f3
6
+ metadata.gz: 4739a6f3cdb1bdd8ffbbb7c50a9c9b5ab4ba9efd85785f4cbc0bb9dde0f9e9b997d6f7b5ed803d58b51a51360ed8b29900874508c086d53dd5132d82e8fbd395
7
+ data.tar.gz: de057ce93495a66aac57d531a47bf49c492cb20f043df7afc1ba35270420e2c852998022e10c8dcea386496d24bfc16eeeb9e184edec86b75e79253f40f8f16a
data/.version CHANGED
@@ -1 +1 @@
1
- 0.9.10
1
+ 0.9.11
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Changelog
2
2
  ## [Unreleased]
3
3
 
4
+ ### [0.9.12] WIP
5
+ - TODO: focus on log file consistency using Logger
6
+
4
7
  ## Released
5
8
 
9
+ ### [0.9.11] 2025-07-31
10
+ - added a cost per 1 million input tokens to available_models query output
11
+ - updated ruby_llm to version 1.4.0
12
+ - updated all other gem dependencies to their latest versions
13
+
6
14
  ### [0.9.10] 2025-07-18
7
15
  - updated ruby_llm-mcp to version 0.6.1 which solves problems with MCP tools not being installed
8
16
 
data/COMMITS.md CHANGED
@@ -1,12 +1,8 @@
1
1
  <!-- ~/COMMITS.md gem install aigcm -->
2
2
 
3
- The JIRA ticket reference should be the first thing mentioned in the commit message.
4
- It is useually the basename of the repository root. The repository root is
5
- found in the system environment variable $RR.
6
-
7
3
  A Git commit message includes:
8
4
 
9
- 1. **Subject line**: starts with the JIRA ticket and is 50 characters or less, imperative mood.
5
+ 1. **Subject line**: is 50 characters or less, imperative mood.
10
6
  - Example: `Fix bug in user login`
11
7
 
12
8
  2. **Body** (optional): Explain the "why" and "how", wrapped at 72 characters.
@@ -17,7 +13,3 @@ A Git commit message includes:
17
13
  </example>
18
14
 
19
15
  The body should also include bullet points for each change made.
20
-
21
- 3. **Footer** (optional): Reference issues or breaking changes.
22
- <example> Closes #123 </example>
23
- <example> BREAKING CHANGE: API changed </example>
@@ -347,7 +347,7 @@ module AIA
347
347
  puts header + ':'
348
348
  puts
349
349
 
350
- q1 = query.select{|q| q.include?('_to_')}.map{|q| ':'==q[0] ? q[1...] : q}
350
+ q1 = query.select{|q| q.include?('_to_')} # SMELL: ?? .map{|q| ':'==q[0] ? q[1...] : q}
351
351
  q2 = query.reject{|q| q.include?('_to_')}
352
352
 
353
353
  counter = 0
@@ -358,7 +358,8 @@ module AIA
358
358
  inputs = llm.modalities.input.join(',')
359
359
  outputs = llm.modalities.output.join(',')
360
360
  mode = "#{inputs} to #{outputs}"
361
- entry = "- #{llm.id} (#{llm.provider}) cw: #{cw} mode: #{mode} caps: #{caps}"
361
+ in_1m = llm.pricing.text_tokens.standard.to_h[:input_per_million]
362
+ entry = "- #{llm.id} (#{llm.provider}) in: $#{in_1m} cw: #{cw} mode: #{mode} caps: #{caps}"
362
363
 
363
364
  if query.nil? || query.empty?
364
365
  counter += 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dewayne VanHoozer
@@ -391,7 +391,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
391
391
  - !ruby/object:Gem::Version
392
392
  version: '0'
393
393
  requirements: []
394
- rubygems_version: 3.7.0
394
+ rubygems_version: 3.7.1
395
395
  specification_version: 4
396
396
  summary: 'AI Assistant: dynamic prompts, shell & Ruby integration, and seamless chat
397
397
  workflows.'