Skip to content

docs: add Tuning Engines AI endpoint example#3711

Closed
cerebrixos wants to merge 1 commit into
triggerdotdev:mainfrom
cerebrixos:tuning-engines-triggerdev-example
Closed

docs: add Tuning Engines AI endpoint example#3711
cerebrixos wants to merge 1 commit into
triggerdotdev:mainfrom
cerebrixos:tuning-engines-triggerdev-example

Conversation

@cerebrixos
Copy link
Copy Markdown

Summary

  • Add a Trigger.dev example task that calls Tuning Engines through its OpenAI-compatible endpoint.
  • Add the example to the docs navigation.
  • Uses placeholder environment variables only.

Testing

  • git diff --check

No runtime code changed.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 22, 2026

⚠️ No Changeset found

Latest commit: e669c68

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 22, 2026

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 5759eed6-b7e0-4f57-a808-caedfbe1fa4a

📥 Commits

Reviewing files that changed from the base of the PR and between 61ca40b and e669c68.

📒 Files selected for processing (2)
  • docs/docs.json
  • docs/guides/examples/tuning-engines-ai-gateway.mdx

Walkthrough

This PR adds a new documentation guide for calling Tuning Engines through a governed, OpenAI-compatible endpoint from Trigger.dev tasks. The change registers a new page in the docs navigation structure and creates the MDX page with frontmatter, an explanation of the pattern, required environment variables (TE_INFERENCE_KEY, TE_MODEL), a complete TypeScript task example that sends POST requests to /v1/chat/completions with authorization and correlation headers, a test payload for the Trigger.dev dashboard, and implementation guidance covering secret storage, run ID correlation, and policy-approval-driven retries.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~4 minutes

✨ 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 and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

Hi @cerebrixos, thanks for your interest in contributing!

This project requires that pull request authors are vouched, and you are not in the list of vouched users.

This PR will be closed automatically. See https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md for more details.

@github-actions github-actions Bot closed this May 22, 2026
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@cerebrixos
Copy link
Copy Markdown
Author

Thanks for the pointer. I opened a vouch request first so this can follow the project process: https://github.com/triggerdotdev/trigger.dev/issues/3712\n\nOnce vouched, I can reopen this contribution or submit a fresh PR if that is cleaner for maintainers.

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.

2 participants