botiasloop 0.0.7 → 0.0.8

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: 19ce350bd375ddbae065af8ff880cfe1f4f01c1d53b0b865caec2d577119c7bc
4
- data.tar.gz: 41021e8b39ce89d96b04000d2c9d6e23f78672915561d5c17ee81846faf87ed3
3
+ metadata.gz: ba01f2452180ebb24a1591bfb93528dab2efbd470466fead4b1528c5137f7227
4
+ data.tar.gz: c671cfe22c9958e1582e2fd514758a341c08fc2820450c87d09ec6d9857a4cbc
5
5
  SHA512:
6
- metadata.gz: d017fa894d1c47e03ef694b3f25a4144e84b5dc0a8b645add7e871062bf7cb754a65febf450ab5964c273196bebbbda7481a1da5f738fd125058b909ddb0b213
7
- data.tar.gz: c848deadc5eb12e6aa07ffb539bd11a6cb3c2559a88a24285cb7768694c5818f7c9e6b21bffea5dbd6bffe862cfd3a800f130ef0543d6afa65fe77140be41d4f
6
+ metadata.gz: b07dac2f185210185d3c6c92d059494775ee095ac414199bedc5c9a16788fc54ea1a8b174ef2486b21492c964498aa1a0ecb6b5babd28c4fee8dd670b52a7dfc
7
+ data.tar.gz: c31d1d531a1a8215d7115cb33a92fe0888d240471965aa30008c178358c612baa84e39e652714afb3960ad9a5a833fe9830127f1b0a02f43659696cf78ad373b
data/README.md CHANGED
@@ -295,7 +295,7 @@ max_iterations: 20
295
295
  channels:
296
296
  telegram:
297
297
  bot_token: "your-telegram-bot-token"
298
- allowed_users: [] # Empty = allow all, or list specific user IDs
298
+ allowed_users: ["your_telegram_username"] # Required: must contain at least one username
299
299
 
300
300
  # Optional: Logging
301
301
  logger:
@@ -50,8 +50,11 @@ module Botiasloop
50
50
  @verbose_callback.call(reasoning_content)
51
51
  end
52
52
 
53
- # Add the assistant's message with tool_calls first
54
- messages << response
53
+ # Add the assistant's message as a RubyLLM::Message object
54
+ messages << RubyLLM::Message.new(
55
+ role: :assistant,
56
+ content: response.content || ""
57
+ )
55
58
 
56
59
  response.tool_calls.each_value do |tool_call|
57
60
  observation = execute_tool(tool_call)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Botiasloop
4
- VERSION = "0.0.7"
4
+ VERSION = "0.0.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: botiasloop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Feistmantl