Add Support for Targon API Provider #6251
philbb
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Targon is a fast and cost-efficient API Provider that offers several of the leading open source coding models.
It currently offers the following models at leading throughputs and prices:
Access to the API is via either of the following 2 endpoints.
It would be great if Roo would support it natively.
curl https://api.targon.com/v1/chat/completions
-H "Content-Type: application/json"
-H "Authorization: Bearer YOUR_API_KEY"
-N
-d '{
"model": "moonshotai/Kimi-K2-Instruct",
"stream": true,
"messages": [
{"role": "system", "content": "You are a helpful programming assistant."},
{"role": "user", "content": "Write a bubble sort implementation in Python with comments explaining how it works"}
],
"temperature": 0.7,
"max_tokens": 100,
"top_p": 1,
"frequency_penalty": 0,
"presence_penalty": 0
}'
OR
curl https://api.targon.com/v1/completions
-H "Content-Type: application/json"
-H "Authorization: Bearer YOUR_API_KEY"
-N
-d '{
"model": "moonshotai/Kimi-K2-Instruct",
"stream": true,
"prompt": "The x y problem is",
"temperature": 0.7,
"max_tokens": 100,
"top_p": 1,
"frequency_penalty": 0,
"presence_penalty": 0
}'
Beta Was this translation helpful? Give feedback.
All reactions