Skip to content

Conversation

redox
Copy link
Contributor

@redox redox commented Mar 23, 2025

This fixes #61 ensuring the (Gemini) function_declarations's parameters is not set when there are no parameters.

@redox redox changed the title Support tools with params Support tools without params Mar 23, 2025
@crmne crmne added the bug Something isn't working label Mar 24, 2025
@crmne
Copy link
Owner

crmne commented Mar 24, 2025

Nice and simple PR @redox, thanks. Just fix the linting and I'm ready to merge it.

@redox redox force-pushed the su/fix-gemini-tools branch from 13fa50c to 61802bc Compare March 24, 2025 19:35
@redox
Copy link
Contributor Author

redox commented Mar 24, 2025

done @crmne

@crmne
Copy link
Owner

crmne commented Mar 24, 2025

There seems to be some test failures. Make sure to run rubocop and rspec before committing. Have you done overcommit --install? It's recommended in the contributing guide for this reason.

@redox
Copy link
Contributor Author

redox commented Mar 24, 2025

There seems to be some test failures. Make sure to run rubocop and rspec before committing.

Arg, it was a timezone issue. It should be fixed with 4dad99c

Have you done overcommit --install? It's recommended in the contributing guide for this reason.

I didn't initially, I'm surprised by Cursor+Rubocop plugin didn't complain about the lint issue - need to check why. The specs were all green on my end 😅

@redox
Copy link
Contributor Author

redox commented Mar 25, 2025

Gosh @crmne this time zone issue is driving me nuts

@crmne
Copy link
Owner

crmne commented Mar 26, 2025

@redox just make up a different test. I'd be happy to see this out in the next version.

@redox redox force-pushed the su/fix-gemini-tools branch from 80a5769 to e72b3ca Compare March 26, 2025 12:36
@redox
Copy link
Contributor Author

redox commented Mar 26, 2025

@redox just make up a different test. I'd be happy to see this out in the next version.

I just did 🫡

@crmne
Copy link
Owner

crmne commented Mar 26, 2025

You may need to merge with main before continuing.

@crmne
Copy link
Owner

crmne commented Mar 26, 2025

Best tool I've seen btw, it's always right ;)

@redox
Copy link
Contributor Author

redox commented Mar 26, 2025

You may need to merge with main before continuing.

We should be good now

Best tool I've seen btw, it's always right ;)

Yeah 🤘

@crmne
Copy link
Owner

crmne commented Mar 26, 2025

There might be a problem in cicd.yml hold on.

@crmne
Copy link
Owner

crmne commented Mar 26, 2025

I've made some changes to the pipeline, can you merge main again please? 95f7606

@crmne crmne merged commit 4641ae4 into crmne:main Mar 26, 2025
5 checks passed
Copy link

codecov bot commented Mar 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.22%. Comparing base (95f7606) to head (6972bc4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #62      +/-   ##
==========================================
+ Coverage   92.18%   92.22%   +0.04%     
==========================================
  Files          60       60              
  Lines        1893     1903      +10     
  Branches      297      298       +1     
==========================================
+ Hits         1745     1755      +10     
  Misses        148      148              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@schappim
Copy link

schappim commented Apr 5, 2025

I think this breaks when streaming.

For instance a tool that is will work:

class CurrentTime < RubyLLM::Tool
  description "Gets the current time"
  param :location, desc: "City name or zip code (optional)"

  def execute(location:)
    DateTime.now.strftime("%A, %d %b %Y %l:%M%p")
  end
end

But will break if it is:

# app/tools/current_time.rb
class CurrentTime < RubyLLM::Tool
  description "Gets the current time"
  #  param :location, desc: "City name or zip code (optional)"

  def execute
    DateTime.now.strftime("%A, %d %b %Y %l:%M%p")
  end
end
worker.1 | /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/component.rb:46:in 'block in Sidekiq::Component#safe_thread'
11:04:46 worker.1 | INFO  2025-04-05T00:04:46.816Z pid=88972 tid=1zuk jid=904999351eb1841674385afc class=ChatJob elapsed=1.671: fail
11:04:46 worker.1 | INFO  2025-04-05T00:04:46.817Z pid=88972 tid=1zuk context=Job raised exception job={"retry" => true, "queue" => "default", "wrapped" => "ChatJob", "args" => [{"job_class" => "ChatJob", "job_id" => "8723ed82-8fa2-4207-8793-0722c2956db4", "provider_job_id" => nil, "queue_name" => "default", "priority" => nil, "arguments" => [248, "what is the current time?                  "], "executions" => 0, "exception_executions" => {}, "locale" => "en", "timezone" => "UTC", "enqueued_at" => "2025-04-05T00:04:45.145637000Z", "scheduled_at" => nil, "current_tenant" => nil}], "class" => "Sidekiq::ActiveJob::Wrapper", "jid" => "904999351eb1841674385afc", "created_at" => 1743811485145, "enqueued_at" => 1743811485145}: /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/json-2.10.2/lib/json/common.rb:248:in 'JSON::Ext::Parser.parse': unexpected end of input (JSON::ParserError)
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/json-2.10.2/lib/json/common.rb:248:in 'JSON.parse'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/ruby_llm-1.1.0rc1/lib/ruby_llm/stream_accumulator.rb:50:in 'block in RubyLLM::StreamAccumulator#tool_calls_from_stream'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/ruby_llm-1.1.0rc1/lib/ruby_llm/stream_accumulator.rb:46:in 'Hash#transform_values'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/ruby_llm-1.1.0rc1/lib/ruby_llm/stream_accumulator.rb:46:in 'RubyLLM::StreamAccumulator#tool_calls_from_stream'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/ruby_llm-1.1.0rc1/lib/ruby_llm/stream_accumulator.rb:37:in 'RubyLLM::StreamAccumulator#to_message'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/ruby_llm-1.1.0rc1/lib/ruby_llm/streaming.rb:21:in 'RubyLLM::Streaming#stream_response'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/ruby_llm-1.1.0rc1/lib/ruby_llm/providers/gemini/chat.rb:27:in 'RubyLLM::Providers::Gemini::Chat#complete'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/ruby_llm-1.1.0rc1/lib/ruby_llm/chat.rb:82:in 'RubyLLM::Chat#complete'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/ruby_llm-1.1.0rc1/lib/ruby_llm/active_record/acts_as.rb:130:in 'RubyLLM::ActiveRecord::ChatMethods#ask'
11:04:46 worker.1 | 	from /Users/admin/code/chat_template/app/jobs/chat_job.rb:40:in 'ChatJob#process_chat_message'
11:04:46 worker.1 | 	from /Users/admin/code/chat_template/app/jobs/chat_job.rb:8:in 'ChatJob#perform'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/execution.rb:68:in 'block in ActiveJob::Execution#_perform_job'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:120:in 'block in ActiveSupport::Callbacks#run_callbacks'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/i18n-1.14.7/lib/i18n.rb:353:in 'I18n::Base#with_locale'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/translation.rb:9:in 'block (2 levels) in <module:Translation>'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'BasicObject#instance_exec'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'block in ActiveSupport::Callbacks#run_callbacks'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/core_ext/time/zones.rb:65:in 'Time.use_zone'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/timezones.rb:9:in 'block (2 levels) in <module:Timezones>'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'BasicObject#instance_exec'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'block in ActiveSupport::Callbacks#run_callbacks'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:140:in 'ActiveSupport::Callbacks#run_callbacks'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/execution.rb:67:in 'ActiveJob::Execution#_perform_job'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:32:in 'ActiveJob::Instrumentation#_perform_job'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/execution.rb:51:in 'ActiveJob::Execution#perform_now'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:26:in 'block in ActiveJob::Instrumentation#perform_now'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activerecord-8.0.2/lib/active_record/railties/job_runtime.rb:13:in 'block in ActiveRecord::Railties::JobRuntime#instrument'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:40:in 'block in ActiveJob::Instrumentation#instrument'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/notifications.rb:210:in 'block in ActiveSupport::Notifications.instrument'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/notifications/instrumenter.rb:58:in 'ActiveSupport::Notifications::Instrumenter#instrument'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/notifications.rb:210:in 'ActiveSupport::Notifications.instrument'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:39:in 'ActiveJob::Instrumentation#instrument'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activerecord-8.0.2/lib/active_record/railties/job_runtime.rb:11:in 'ActiveRecord::Railties::JobRuntime#instrument'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:26:in 'ActiveJob::Instrumentation#perform_now'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/logging.rb:32:in 'block in ActiveJob::Logging#perform_now'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/tagged_logging.rb:143:in 'block in ActiveSupport::TaggedLogging#tagged'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/tagged_logging.rb:38:in 'ActiveSupport::TaggedLogging::Formatter#tagged'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/tagged_logging.rb:143:in 'ActiveSupport::TaggedLogging#tagged'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/broadcast_logger.rb:241:in 'ActiveSupport::BroadcastLogger#method_missing'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/logging.rb:39:in 'ActiveJob::Logging#tag_logger'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/logging.rb:32:in 'ActiveJob::Logging#perform_now'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/execution.rb:29:in 'block in ActiveJob::Execution::ClassMethods#execute'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:120:in 'block in ActiveSupport::Callbacks#run_callbacks'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/railtie.rb:95:in 'block (4 levels) in <class:Railtie>'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/reloader.rb:77:in 'block in ActiveSupport::Reloader.wrap'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/execution_wrapper.rb:87:in 'ActiveSupport::ExecutionWrapper.wrap'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/reloader.rb:74:in 'ActiveSupport::Reloader.wrap'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/railtie.rb:94:in 'block (3 levels) in <class:Railtie>'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'BasicObject#instance_exec'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'block in ActiveSupport::Callbacks#run_callbacks'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:140:in 'ActiveSupport::Callbacks#run_callbacks'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activejob-8.0.2/lib/active_job/execution.rb:27:in 'ActiveJob::Execution::ClassMethods#execute'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/rails.rb:13:in 'Sidekiq::ActiveJob::Wrapper#perform'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:227:in 'Sidekiq::Processor#execute_job'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:192:in 'block (4 levels) in Sidekiq::Processor#process'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/middleware/chain.rb:180:in 'Sidekiq::Middleware::Chain#traverse'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/middleware/chain.rb:183:in 'block in Sidekiq::Middleware::Chain#traverse'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/acts_as_tenant-1.0.1/lib/acts_as_tenant/sidekiq.rb:38:in 'ActsAsTenant::Sidekiq::Server#call'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/middleware/chain.rb:182:in 'Sidekiq::Middleware::Chain#traverse'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/middleware/chain.rb:183:in 'block in Sidekiq::Middleware::Chain#traverse'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/job/interrupt_handler.rb:9:in 'Sidekiq::Job::InterruptHandler#call'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/middleware/chain.rb:182:in 'Sidekiq::Middleware::Chain#traverse'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/middleware/chain.rb:183:in 'block in Sidekiq::Middleware::Chain#traverse'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/metrics/tracking.rb:26:in 'Sidekiq::Metrics::ExecutionTracker#track'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/metrics/tracking.rb:136:in 'Sidekiq::Metrics::Middleware#call'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/middleware/chain.rb:182:in 'Sidekiq::Middleware::Chain#traverse'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/middleware/chain.rb:173:in 'Sidekiq::Middleware::Chain#invoke'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:191:in 'block (3 levels) in Sidekiq::Processor#process'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:151:in 'block (7 levels) in Sidekiq::Processor#dispatch'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/job_retry.rb:118:in 'Sidekiq::JobRetry#local'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:150:in 'block (6 levels) in Sidekiq::Processor#dispatch'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/rails.rb:27:in 'block in Sidekiq::Rails::Reloader#call'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/reloader.rb:77:in 'block in ActiveSupport::Reloader.wrap'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/execution_wrapper.rb:91:in 'ActiveSupport::ExecutionWrapper.wrap'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/activesupport-8.0.2/lib/active_support/reloader.rb:74:in 'ActiveSupport::Reloader.wrap'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/rails.rb:26:in 'Sidekiq::Rails::Reloader#call'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:145:in 'block (5 levels) in Sidekiq::Processor#dispatch'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:123:in 'Sidekiq::Processor#profile'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:140:in 'block (4 levels) in Sidekiq::Processor#dispatch'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:288:in 'Sidekiq::Processor#stats'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:139:in 'block (3 levels) in Sidekiq::Processor#dispatch'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/job_logger.rb:15:in 'Sidekiq::JobLogger#call'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:138:in 'block (2 levels) in Sidekiq::Processor#dispatch'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/job_retry.rb:85:in 'Sidekiq::JobRetry#global'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:137:in 'block in Sidekiq::Processor#dispatch'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/job_logger.rb:40:in 'Sidekiq::JobLogger#prepare'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:136:in 'Sidekiq::Processor#dispatch'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:190:in 'block (2 levels) in Sidekiq::Processor#process'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:189:in 'Thread.handle_interrupt'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:189:in 'block in Sidekiq::Processor#process'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:188:in 'Thread.handle_interrupt'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:188:in 'Sidekiq::Processor#process'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:87:in 'Sidekiq::Processor#process_one'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/processor.rb:77:in 'Sidekiq::Processor#run'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/component.rb:37:in 'Sidekiq::Component#watchdog'
11:04:46 worker.1 | 	from /Users/admin/.rvm/gems/ruby-3.4.2@chat_template/gems/sidekiq-8.0.1/lib/sidekiq/component.rb:46:in 'block in Sidekiq::Component#safe_thread'
11:04:46 worker.1 |
^C11:04:47 system   | SIGINT received, starting shutdown
11:04:47 worker.1 | INFO  2025-04-05T00:04:47.684Z pid=88972 tid=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tools without parameters are resulting in unsupported function_declarations schema for Gemini

3 participants