* feat: add Tensorix as an LLM provider Adds Tensorix (https://tensorix.ai) as a new OpenAI-compatible provider, giving users access to DeepSeek, Llama 4, Qwen, GLM, and other models through a single API key. Changes: - New LLM class (core/llm/llms/Tensorix.ts) - Registered in LLM index and config schema - Added to VS Code extension config schema - Added to GUI provider selection with AUTODETECT * Fix missing commas in config_schema.json for tensorix entries Co-authored-by: openhands <openhands@all-hands.dev> * feat: address reviewer feedback for Tensorix provider - Add tensorix to openai-adapters (types.ts + index.ts) - Add tensorix to PROVIDER_HANDLES_TEMPLATING, PROVIDER_SUPPORTS_IMAGES, and PARALLEL_PROVIDERS in autodetect.ts - Add docs page for Tensorix under more providers - Add tensorix to docs.json navigation Co-authored-by: openhands <openhands@all-hands.dev> --------- Co-authored-by: openhands <openhands@all-hands.dev>
14 lines
363 B
TypeScript
14 lines
363 B
TypeScript
import OpenAI from "./OpenAI.js";
|
|
|
|
import type { LLMOptions } from "../../index.js";
|
|
|
|
class Tensorix extends OpenAI {
|
|
static providerName = "tensorix";
|
|
static defaultOptions: Partial<LLMOptions> = {
|
|
apiBase: "https://api.tensorix.ai/v1/",
|
|
model: "deepseek/deepseek-chat-v3.1",
|
|
useLegacyCompletionsEndpoint: false,
|
|
};
|
|
}
|
|
|
|
export default Tensorix;
|