Skip to content

docs: add TokenLab LLM connection example#6489

Open
hedging8563 wants to merge 2 commits into
crewAIInc:mainfrom
hedging8563:codex/add-tokenlab-llm-example
Open

docs: add TokenLab LLM connection example#6489
hedging8563 wants to merge 2 commits into
crewAIInc:mainfrom
hedging8563:codex/add-tokenlab-llm-example

Conversation

@hedging8563

Copy link
Copy Markdown

Summary

  • Document TokenLab as an OpenAI-compatible LLM connection option for CrewAI.
  • Use TokenLab's OpenAI-compatible base URL: https://api.tokenlab.sh/v1
  • No runtime behavior changes; documentation only.

Verification

  • git diff --check

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: cfbbf542-41ba-4ff8-8f5a-e2b40505a642

📥 Commits

Reviewing files that changed from the base of the PR and between 85ce78a and c2d76ac.

📒 Files selected for processing (1)
  • docs/edge/en/learn/llm-connections.mdx
✅ Files skipped from review due to trivial changes (1)
  • docs/edge/en/learn/llm-connections.mdx

📝 Walkthrough

Walkthrough

The LLM connections guide now includes TokenLab configuration examples using environment variables and direct LLM class attributes, including wiring the configured model into an Agent.

Changes

TokenLab LLM Documentation

Layer / File(s) Summary
TokenLab examples in env var and LLM class sections
docs/edge/en/learn/llm-connections.mdx
Adds TokenLab-specific environment-variable settings and an LLM configuration example with model, base URL, API key, and Agent integration.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main change: adding a TokenLab LLM connection example in docs.
Description check ✅ Passed The description accurately summarizes the TokenLab documentation update and notes that there are no runtime changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/v1.15.0/en/learn/llm-connections.mdx`:
- Around line 147-153: Don’t edit the frozen v1.15.0 snapshot directly; the
TokenLab examples in this document should be added in the canonical source docs
and then regenerated into the release snapshot. Update the source documentation
that feeds this page, then run the docs generation workflow so the snapshot
stays in sync. Use the existing llm-connections documentation entry points and
the TokenLab section as the place to make the change, rather than modifying
docs/v1.15.0/en/learn/llm-connections.mdx by hand.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d40e40da-0203-4326-aacf-9595395f3c3b

📥 Commits

Reviewing files that changed from the base of the PR and between 289686a and bfca9b1.

📒 Files selected for processing (1)
  • docs/v1.15.0/en/learn/llm-connections.mdx

Comment thread docs/v1.15.0/en/learn/llm-connections.mdx Outdated
@hedging8563

Copy link
Copy Markdown
Author

Thanks for the review. Addressed in 942c518 by removing the manual edit from the frozen v1.15.0 snapshot and moving the TokenLab examples to the canonical edge docs entry point instead.

@hedging8563

Copy link
Copy Markdown
Author

Updated the branch to keep the TokenLab examples only in docs/edge/en/learn/llm-connections.mdx. I also removed the residual whitespace-only change from the frozen docs/v1.15.0 snapshot, so the PR no longer modifies release snapshots.

@hedging8563 hedging8563 force-pushed the codex/add-tokenlab-llm-example branch from c25a4cc to 85ce78a Compare July 10, 2026 22:17
Signed-off-by: hedging8563 <cryptoninja2008@gmail.com>
@hedging8563 hedging8563 force-pushed the codex/add-tokenlab-llm-example branch from 85ce78a to c2d76ac Compare July 10, 2026 23:39
@hedging8563

Copy link
Copy Markdown
Author

The current PR head already applies the TokenLab examples only in the canonical source file docs/edge/en/learn/llm-connections.mdx; it does not modify docs/v1.15.0 or any frozen version snapshot. The review note appears to refer to an earlier revision. Please re-review the current diff; no regeneration step is needed for this change.

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