Skip to content

fix: added supported req types for replicate in config.ts#1624

Merged
akshaydeo merged 1 commit intomainfrom
02-12-fix_added_supported_req_types_for_replicate_in_config.ts
Feb 12, 2026
Merged

fix: added supported req types for replicate in config.ts#1624
akshaydeo merged 1 commit intomainfrom
02-12-fix_added_supported_req_types_for_replicate_in_config.ts

Conversation

@TejasGhatte
Copy link
Collaborator

@TejasGhatte TejasGhatte commented Feb 12, 2026

Summary

Added Replicate to the list of supported providers with its corresponding supported request types.

Changes

  • Added the replicate provider to the PROVIDER_SUPPORTED_REQUESTS object with a list of supported request types including text completion, chat completion, image generation, and image editing capabilities

Type of change

  • Feature
  • Bug fix
  • Refactor
  • Documentation
  • Chore/CI

Affected areas

  • Core (Go)
  • Transports (HTTP)
  • Providers/Integrations
  • Plugins
  • UI (Next.js)
  • Docs

How to test

Verify that Replicate appears as a supported provider in the UI and that the listed request types are available:

# UI
cd ui
pnpm i
pnpm dev

Navigate to the providers section and confirm Replicate is available with the supported request types.

Breaking changes

  • Yes
  • No

Related issues

N/A

Security considerations

No security implications as this only adds supported request types for a provider.

Checklist

  • I read docs/contributing/README.md and followed the guidelines
  • I added/updated tests where appropriate
  • I updated documentation where needed
  • I verified builds succeed (Go and UI)
  • I verified the CI pipeline passes locally if applicable

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 12, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Summary by CodeRabbit

New Features

  • Introduced support for Replicate provider, enabling access to text completion, chat interactions, image generation and editing, model listing, and streaming capabilities across supported features.

Walkthrough

Added support for the Replicate provider by introducing a replicate key to the PROVIDER_SUPPORTED_REQUESTS constant, mapping it to an array of ten supported operations including model listing, text/chat completions, streaming variants, and image generation/editing capabilities.

Changes

Cohort / File(s) Summary
Provider Configuration
ui/lib/constants/config.ts
Added replicate provider entry with support for ten operations: list_models, text_completion, chat_completion, chat_completion_stream, responses, responses_stream, image_generation, image_generation_stream, image_edit, and image_edit_stream.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A new provider hops into the fold,
Replicate now joins, brave and bold,
Images dance and completions flow,
Config constants steal the show!

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch 02-12-fix_added_supported_req_types_for_replicate_in_config.ts

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.

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@TejasGhatte TejasGhatte marked this pull request as ready for review February 12, 2026 14:21
@github-actions
Copy link
Contributor

🧪 Test Suite Available

This PR can be tested by a repository admin.

Run tests for PR #1624

@akshaydeo akshaydeo merged commit 7652ce1 into main Feb 12, 2026
10 of 11 checks passed
@akshaydeo akshaydeo deleted the 02-12-fix_added_supported_req_types_for_replicate_in_config.ts branch February 12, 2026 14:21
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