hellm 0.0.6 → 0.0.7
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 +4 -4
- data/VERSION +1 -1
- data/lib/hellm/agent.rb +1 -1
- data/lib/hellm/tools/agent_tool_factory.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: faae0266f2d1ed09940c3dc2a7bfcd78ec2fa5178182a8f97a9b4c49c49d3791
|
|
4
|
+
data.tar.gz: 79e9fc6d9a05a7d21326e654f9e93ac66a25123a94f46feb44a4542adee56910
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc9032f38223f0d50220fbb717298da186a08d67ab9005af5568b003548e00ba075604825a76fb54572479c02507569a03a30d7e13168b43d7ed2bb5b41d31ca
|
|
7
|
+
data.tar.gz: c8d065bf71e6ee9696bcadd538eb5d243ccad426b2320c2e8c2a722afb569293925eab824ce2abeb9e5faf855d5c212026cfdbbab41632af6c0f3726e538ee95
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.7
|
data/lib/hellm/agent.rb
CHANGED
|
@@ -26,7 +26,7 @@ class Hellm::Agent
|
|
|
26
26
|
attr_accessor :tools
|
|
27
27
|
|
|
28
28
|
def initialize(model: nil, name: nil, description: nil, session: nil, openai_api_key: nil, agents: nil, tools: nil, instructions: nil, registry: nil)
|
|
29
|
-
model ||= "gpt-5-nano"
|
|
29
|
+
model ||= "gpt-5.4-nano"
|
|
30
30
|
Hellm.logger.debug("Initializing agent #{name} (#{model})")
|
|
31
31
|
@llm = Langchain::LLM::OpenAI.new(
|
|
32
32
|
api_key: openai_api_key || ::Hellm.openai_api_key,
|
|
@@ -23,8 +23,8 @@ module Hellm::Tools
|
|
|
23
23
|
define_singleton_method(:tool_name) { agent_name }
|
|
24
24
|
|
|
25
25
|
define_function "run_agent", description: "Run the agent #{agent.name} and return its response.\n#{agent.description}" do
|
|
26
|
-
property :content, type: "string", description: "
|
|
27
|
-
property :image, type: "string", description: "Image URL or path to pass to the agent.", required: false
|
|
26
|
+
property :content, type: "string", description: "Put all content, parameters and arguments in this argument to pass it to the agent.", required: false
|
|
27
|
+
property :image, type: "string", description: "Image URL or path to pass to the agent. Use this only if there is the need to work with images.", required: false
|
|
28
28
|
end
|
|
29
29
|
end
|
|
30
30
|
klass.new(agent)
|