Skip to content

Support rcrewai 0.10 and fix the docs and install template - #30

Merged
gkosmo merged 1 commit into
masterfrom
feat/rcrewai-0.10-docs
Nov 5, 2026
Merged

gkosmo merged 1 commit into
masterfrom
feat/rcrewai-0.10-docs

Conversation

@gkosmo

@gkosmo gkosmo commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Why

The engine was pinned to rcrewai ~> 0.9.0, so Rails users couldn't get 0.10. The docs also had examples that fail when copied, and the docs site still described rcrewai 0.7.

What changed

  • Dependency: requires rcrewai ~> 0.10.0, with no migration. The engine's own version is not bumped and nothing is published.
  • Configure example: RcrewAI.configure is the engine's config, so setting openai_api_key on it raised NoMethodError. The README, docs site and generated initializer now use RCrewAI.configure(validate: false). Without validate: false, a missing key raises ConfigurationError at boot, including during assets:precompile. The template also named groq_api_key and default_model, which don't exist.
  • Tools example: tools [a, b] nests the array, and the agent raises NoMethodError when listing its tools. The README now uses tools(a, b). It also says tools must be required, because the engine doesn't load them.
  • Smaller fixes: RcrewAI::Rails::CrewExecutionJob namespace, rcrewai repo link (supersedes docs/fix-rcrewai-link), documentation URL (the old one returned 404), and POST /crews in the API list.
  • Docs site: adds observation, checkpointing, parallel_tools, interceptors and providers, and removes the 0.7 claims.
  • README: a new "rcrewai 0.10" section says what the engine does and doesn't expose. CancelToken, chat(model:) and cached_tokens are not exposed, and Execution#cancel! doesn't stop a running stream.

For review

  • Engine behaviour is unchanged, so two rough edges are documented rather than fixed: tools [a, b] still breaks and tools still need requiring.
  • Claude examples now use claude-opus-5-5 with temperature = nil. rcrewai sends temperature by default and current Claude models reject it. That comes from Anthropic's API reference, with the request shape checked against a stub, not a live call.

Testing

  • bundle exec rspec: 268 passing on 0.9.0 and on 0.10.0 before the new specs, 270 with them. The new specs check the generated initializer loads and puts provider settings on the base gem.
  • Reproduced the configure and tools failures, and checked the fixed forms, by loading the real engine.
  • Docs pages were not checked in a browser.

🤖 Generated with Claude Code

Requires rcrewai ~> 0.10.0. The suite passes unchanged and no migration is
needed. The engine doesn't expose 0.10's CancelToken, chat(model:) or
cached_tokens, and the README now says so.

The README and docs site set provider keys inside RcrewAI.configure, which is
the engine's config, so the example raised NoMethodError. They now use
RCrewAI.configure(validate: false). The generated initializer also named
settings that don't exist.

The README's `tools [ ... ]` example nested the array and broke the agent, and
didn't say the tools must be required. Also corrects the job namespace, repo
link and documentation URL, lists POST /crews, and brings the docs site up
from rcrewai 0.7.
@gkosmo
gkosmo merged commit 8137b06 into master Nov 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant