Skip to content

YonQua/cohere2openai-cf-worker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cohere To OpenAI (Cloudflare Worker)

This is a simple Cloudflare Worker that transform Cohere API to OpenAI API, easily deployable to Cloudflare Workers.

Deploy to Cloudflare Workers

Features

  • Transform Cohere API to OpenAI API
  • Model listing endpoint (GET /models)
  • Chat completion endpoint (POST /chat/completions)
  • Tool Calling feature

How to Deploy

  1. Clone this repository: git clone https://github.com/ckt1031/cohere2openai-cf-worker.git --depth=1
  2. Run npm install to install dependencies
  3. Run npm run deploy to deploy to Cloudflare Workers

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%