meta_workflows 0.9.46 → 0.9.48

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: dbcfa55a0db6a07e22112f35a21c606b76fb9e24f55ca4222002e6fe3c9b68f6
4
- data.tar.gz: 568f9a5c395957f878a8101a15221fe6ef99353c43eaab2448833c810c6245b1
3
+ metadata.gz: f73884fe4647efbec73b9e0243f273b9a155321267e9fcd24fb17ca9c7d87c59
4
+ data.tar.gz: ff8f56395cbcd3b129f4023be16d35e833ba2f671f0e718ffadb17821004fd73
5
5
  SHA512:
6
- metadata.gz: a773e6331211697f24b12803af9aee8de61559bf11bae54e1c523af5ff602b91c9ff973c10ce5a3343cd2bad4faf1608d28b6222b7664a433bc297670b6088e1
7
- data.tar.gz: 244396bd652bcedc5f3efb7542a823b74e2ddf9be4f2f0a01eb2de18918aeeec18bd7396eb31a338e6aa1ea54ccca445348a1a317a78fafd842a42d4471b6b74
6
+ metadata.gz: fa5fe4eab3d4edaaeed89f189af18d50fe4aba2674c50276288fa34ec454844ee1ade1d2e1371b111d8bb8e58b69e356c1c9402371e434a2edb79dcbfa33f522
7
+ data.tar.gz: c9c8528ca8c451dd719d6ac20708b56ff109180a83739d8710160380e845ca5f214e2e087dda021d79181d302f5a1cc80ddd13a4bcce31288a2fda7d24f1674c
data/README.md CHANGED
@@ -203,6 +203,12 @@ Use the exact model ID from the documentation when configuring your workflow ste
203
203
  Add this line to your application's Gemfile:
204
204
 
205
205
  ```ruby
206
+ # Either
207
+ gem 'ruby_llm_community'
208
+ # Or
209
+ gem 'ruby_llm'
210
+
211
+ # Then
206
212
  gem 'meta_workflows'
207
213
  ```
208
214
 
@@ -37,14 +37,14 @@ module MetaWorkflows
37
37
  current_step_data = workflow_execution.step_data(workflow_execution.current_step)
38
38
  merged_inputs = merge_matching_workflow_params(workflow_execution, current_step_data, inputs)
39
39
 
40
- conversation = RubyConversations::Conversation.new(chat:)
40
+ conversation = RubyConversations::ConversationManager.new(chat:)
41
41
  conversation.with_prompt(params[:prompt_id], inputs: merged_inputs,
42
42
  description: "Running #{params[:prompt_id]} process")
43
43
  end
44
44
 
45
45
  def continue_existing_conversation(params)
46
46
  @chat = MetaWorkflows::Chat.find(params[:chat_id])
47
- conversation = RubyConversations::Conversation.new(chat:, id: chat.conversation_id)
47
+ conversation = RubyConversations::ConversationManager.new(chat:, id: chat.conversation_id)
48
48
  new_message = params[:inputs]
49
49
  conversation.with_user_message(new_message, description: "Following up on #{params[:prompt_id]} process")
50
50
  conversation
@@ -13,7 +13,7 @@ module MetaWorkflows
13
13
  after_initialize :set_chat
14
14
 
15
15
  def set_chat
16
- RubyConversations::Conversation.configure_llm_credentials
16
+ RubyConversations::ConversationManager.configure_llm_credentials
17
17
  @chat = RubyLLM::Chat.new(model: model_id, provider:)
18
18
  end
19
19
  end
@@ -3,7 +3,7 @@
3
3
  module MetaWorkflows
4
4
  MAJOR = 0
5
5
  MINOR = 9
6
- PATCH = 46 # this is automatically incremented by the build process
6
+ PATCH = 48 # this is automatically incremented by the build process
7
7
 
8
8
  VERSION = "#{MetaWorkflows::MAJOR}.#{MetaWorkflows::MINOR}.#{MetaWorkflows::PATCH}".freeze
9
9
  end
@@ -236,7 +236,7 @@ module Services
236
236
  end
237
237
 
238
238
  def create_and_configure_conversation(chat, workflow_execution, execution_output, execution_step)
239
- conversation = RubyConversations::Conversation.new(chat: chat)
239
+ conversation = RubyConversations::ConversationManager.new(chat: chat)
240
240
  conversation.tool = ::MetaWorkflows::Tools::MetaWorkflowTool.build(workflow_execution, execution_output)
241
241
 
242
242
  merged_inputs = merge_matching_workflow_params(workflow_execution, execution_step, inputs)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta_workflows
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.46
4
+ version: 0.9.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonid Medovyy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-08-01 00:00:00.000000000 Z
12
+ date: 2025-08-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -59,20 +59,6 @@ dependencies:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
- - !ruby/object:Gem::Dependency
63
- name: ruby_llm
64
- requirement: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- type: :runtime
70
- prerelease: false
71
- version_requirements: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
62
  - !ruby/object:Gem::Dependency
77
63
  name: stimulus-rails
78
64
  requirement: !ruby/object:Gem::Requirement