activeagent 0.2.4.rc3 → 0.2.4.rc4

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: c6684dac1f6880f636a2a20e4f09899ae36b214bbaeab15a2cf5a95a12a6befb
4
- data.tar.gz: 2663c2e96874538f1809436a4696c40bc775bea3bceeea42d216c89780167f6d
3
+ metadata.gz: 6ba9c1394bd97b78b1239eef0f5f97075a860581fa1b0044a26abc78d988e4cf
4
+ data.tar.gz: c274a2dbac0db2a989767c6603a644c6f905585d1517e18808e646edfbe8ab31
5
5
  SHA512:
6
- metadata.gz: 9231bc4c9c4f44d4f7d45b9ac79ae2f1a5d192511872ee27491da2a59e00f53097a0ee669dbbde4fb6f889794af3a687d7f0e17ff744b6fba3e525c5f810fb0a
7
- data.tar.gz: 383b90bd9d3b53cd6de5fc3a6758b8627ca82c022a543412f6241e6f90ae37ec054b560b56634c395f754922492c0df8fe34102274067fa77cac74bc794710b3
6
+ metadata.gz: 85dc8f2f8329b6af50a23fe02db955c6e293b2e6c1554c4fd22f6b37a81fba670b2b35cb127b1e0bfa86fec2cd83f888efcc607f8a45b6e9425a299629dffb66
7
+ data.tar.gz: 5f4d6263f1ebc86eaac4ced14d47fa05d5000069aa9984315472c0fc606599bde234e66f87b0ed4097577540ce6d5fd853ff26f3b36b50bf65a09c470a5177a7
@@ -6,7 +6,6 @@ module ActiveAgent
6
6
  attr_accessor :content, :role, :name, :action_requested, :requested_actions, :content_type, :charset
7
7
 
8
8
  def initialize(attributes = {})
9
- @action_requested = false
10
9
  @agent_class = attributes[:agent_class]
11
10
  @charset = attributes[:charset] || "UTF-8"
12
11
  @content = attributes[:content] || ""
@@ -14,7 +13,7 @@ module ActiveAgent
14
13
  @name = attributes[:name]
15
14
  @role = attributes[:role] || :user
16
15
  @requested_actions = attributes[:requested_actions] || []
17
- @action_requested = @requested_actions.any?
16
+ @action_requested = @requested_actions.any?
18
17
  validate_role
19
18
  end
20
19
 
@@ -51,10 +51,6 @@ module ActiveAgent
51
51
  @response = ActiveAgent::GenerationProvider::Response.new(prompt: prompt, message: message, raw_response: response)
52
52
  end
53
53
  def embeddings_prompt(parameters: )
54
- binding.irb
55
-
56
-
57
-
58
54
  embeddings_response(@client.embeddings(parameters: embeddings_parameters))
59
55
  end
60
56
 
@@ -80,7 +76,7 @@ module ActiveAgent
80
76
  model: model,
81
77
  messages: messages,
82
78
  temperature: temperature,
83
- tools: tools
79
+ tools: tools.presence
84
80
  }
85
81
  end
86
82
 
@@ -1,3 +1,3 @@
1
1
  module ActiveAgent
2
- VERSION = "0.2.4.rc3"
2
+ VERSION = "0.2.4.rc4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4.rc3
4
+ version: 0.2.4.rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Bowen