Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Discord コミュニティへのご参加をお待ちしています。使用中
- **その他**: さらに多くのエージェントを計画中...

## 柔軟な統合
- **複数のLLMプロバイダー**: OpenRouter、SiliconFlow、Azure、Openai-compatible、Google、OpenAIおよびDeepSeekをサポート
- **複数のLLMプロバイダー**: OpenRouter、SiliconFlow、Azure、Openai-compatible、Google、OpenAI、DeepSeekおよび[MiniMax](https://platform.minimaxi.com/)をサポート
- **人気の市場データ**: 米国市場、暗号市場、香港市場、中国市場など
- **マルチエージェントフレームワーク対応**: A2AプロトコルによるLangchain、Agnoをサポート、研究開発の統合を行う
- **取引所接続**: OKX と Binance へのリアルタイムルーティングに対応し、安全ガードレールを内蔵
Expand Down Expand Up @@ -263,7 +263,7 @@ ValueCell は外部サービスを統合し、サードパーティ製ウィジ
|---------|------|-----------------|
| **TradingView Advanced Chart** | 埋め込み iframe ウィジェット | [Free Advanced Charts Agreement](https://www.tradingview.com/chart-embedding/)(プロプライエタリ) |
| **取引所 API**(Binance、OKX、Hyperliquid など) | REST/WebSocket エンドポイント | 各取引所の利用規約(例: [Binance API 規約](https://www.binance.com/en/terms)) |
| **LLM プロバイダー**(OpenAI、Azure、Google、DeepSeek など) | 推論 API | プロバイダー固有の利用規約(例: [OpenAI 利用規約](https://openai.com/policies/terms-of-use)) |
| **LLM プロバイダー**(OpenAI、Azure、Google、DeepSeek、MiniMax など) | 推論 API | プロバイダー固有の利用規約(例: [OpenAI 利用規約](https://openai.com/policies/terms-of-use)) |

# Star History

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Welcome to join our Discord community to share feedback and issues you encounter
- **Others**: More agents are in planning...

## Flexible Integrations
- **Multiple LLM Providers**: Support OpenRouter, SiliconFlow,Azure,Openai-compatible,Google,OpenAI and DeepSeek
- **Multiple LLM Providers**: Support OpenRouter, SiliconFlow, Azure, Openai-compatible, Google, OpenAI, DeepSeek and [MiniMax](https://platform.minimaxi.com/)
- **Popular Market Data**: Cover US market, Crypto market, Hong Kong market, China market and more
- **Multi-Agent Framework Compatible**: Support Langchain, Agno by A2A Protocol for research and development integration
- **Exchange Connectivity**: Live routing to OKX and Binance, featuring built-in guardrails
Expand Down Expand Up @@ -263,7 +263,7 @@ ValueCell integrates external services and embeds third-party widgets. Their usa
|---------|------|-----------------|
| **TradingView Advanced Chart** | Embedded iframe widget | [Free Advanced Charts Agreement](https://www.tradingview.com/chart-embedding/) (proprietary) |
| **Exchange APIs** (Binance, OKX, Hyperliquid, etc.) | REST/WebSocket endpoints | Each exchange’s ToS (e.g., [Binance API Terms](https://www.binance.com/en/terms)) |
| **LLM Providers** (OpenAI, Azure, Google, DeepSeek, etc.) | Inference APIs | Provider-specific ToS (e.g., [OpenAI ToS](https://openai.com/policies/terms-of-use)) |
| **LLM Providers** (OpenAI, Azure, Google, DeepSeek, MiniMax, etc.) | Inference APIs | Provider-specific ToS (e.g., [OpenAI ToS](https://openai.com/policies/terms-of-use)) |

# Star History

Expand Down
4 changes: 2 additions & 2 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ValueCell 是一个社区驱动的多智能体金融应用平台,我们的使
- **其他智能体**:更多智能体正在规划中...

## 灵活集成
- **多种大语言模型提供商**:支持 OpenRouter、SiliconFlow、Azure、Openai-compatible、Google、OpenAI和DeepSeek
- **多种大语言模型提供商**:支持 OpenRouter、SiliconFlow、Azure、Openai-compatible、Google、OpenAI、DeepSeek和[MiniMax](https://platform.minimaxi.com/)
- **热门市场数据**:覆盖美国市场、加密货币市场、香港市场、中国市场等
- **多智能体框架兼容**:通过 A2A 协议,支持 Langchain、Agno 等主流Agent框架,进行研发集成
- **交易所连接**:支持实时路由至 OKX 和 Binance,并内置安全防护机制
Expand Down Expand Up @@ -263,7 +263,7 @@ ValueCell 集成外部服务并嵌入第三方挂件。其使用不受 Apache 2.
|---------|------|-----------------|
| **TradingView Advanced Chart** | 嵌入式 iframe 挂件 | [Free Advanced Charts Agreement](https://www.tradingview.com/chart-embedding/)(专有) |
| **交易所 API**(Binance、OKX、Hyperliquid 等) | REST/WebSocket 接口 | 各交易所的服务条款(例如 [Binance API 条款](https://www.binance.com/en/terms)) |
| **大语言模型提供商**(OpenAI、Azure、Google、DeepSeek 等) | 推理 API | 供应商特定的使用条款(例如 [OpenAI 使用条款](https://openai.com/policies/terms-of-use)) |
| **大语言模型提供商**(OpenAI、Azure、Google、DeepSeek、MiniMax 等) | 推理 API | 供应商特定的使用条款(例如 [OpenAI 使用条款](https://openai.com/policies/terms-of-use)) |

# Star

Expand Down
4 changes: 2 additions & 2 deletions README.zh_Hant.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ValueCell 是一個社群驅動的多智能體金融應用平台,我們的使
- **其他智能體**:更多智能體正在規劃中...

## 彈性整合
- **多家大型語言模型供應商**:支援 OpenRouter、SiliconFlow、Openai-compatible、Azure、Google、OpenAI 與 DeepSeek
- **多家大型語言模型供應商**:支援 OpenRouter、SiliconFlow、Openai-compatible、Azure、Google、OpenAI、DeepSeek[MiniMax](https://platform.minimaxi.com/)
- **熱門市場資料**:涵蓋美國市場、加密貨幣、香港市場、中國市場等
- **多智能體框架相容**:透過 A2A 協議,支援 LangChain、Agno 等主流 Agent 框架,進行研發整合
- **交易所連接**:支援即時路由至 OKX 和 Binance,並內建安全防護機制
Expand Down Expand Up @@ -263,7 +263,7 @@ ValueCell 整合外部服務並嵌入第三方掛件。其使用不受 Apache 2.
|---------|------|-----------------|
| **TradingView Advanced Chart** | 嵌入式 iframe 掛件 | [Free Advanced Charts Agreement](https://www.tradingview.com/chart-embedding/)(專有) |
| **交易所 API**(Binance、OKX、Hyperliquid 等) | REST/WebSocket 端點 | 各交易所的服務條款(例如 [Binance API 條款](https://www.binance.com/en/terms)) |
| **LLM 供應商**(OpenAI、Azure、Google、DeepSeek 等) | 推論 API | 供應商特定的使用條款(例如 [OpenAI 使用條款](https://openai.com/policies/terms-of-use)) |
| **LLM 供應商**(OpenAI、Azure、Google、DeepSeek、MiniMax 等) | 推論 API | 供應商特定的使用條款(例如 [OpenAI 使用條款](https://openai.com/policies/terms-of-use)) |

# Star

Expand Down
1 change: 1 addition & 0 deletions docs/CONFIGURATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ValueCell supports multiple LLM providers. Choose at least one:
| **Google** | [ai.google.dev](https://ai.google.dev/) |
| **OpenAI** | [platform.openai.com](https://platform.openai.com/) |
| **DashScope** | [bailian.console.aliyun.com](https://bailian.console.aliyun.com/#/home) |
| **MiniMax** | [platform.minimaxi.com](https://platform.minimaxi.com/) |

### Step 2: Configure .env File

Expand Down
1 change: 1 addition & 0 deletions frontend/src/assets/png/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export { default as AzurePng } from "./model-providers/azure.png";
export { default as DashScopePng } from "./model-providers/dashscope.png";
export { default as DeepSeekPng } from "./model-providers/deepseek.png";
export { default as GooglePng } from "./model-providers/google.png";
export { default as MiniMaxPng } from "./model-providers/minimax.png";
export { default as OllamaPng } from "./model-providers/ollama.png";
export { default as OpenAiPng } from "./model-providers/openai.png";
export { default as OpenAiCompatiblePng } from "./model-providers/openai-compatible.png";
Expand Down
Binary file added frontend/src/assets/png/model-providers/minimax.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions frontend/src/constants/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
GooglePng,
HyperliquidPng,
MexcPng,
MiniMaxPng,
OkxPng,
OllamaPng,
OpenAiCompatiblePng,
Expand All @@ -27,6 +28,7 @@ export const MODEL_PROVIDER_ICONS = {
google: GooglePng,
azure: AzurePng,
dashscope: DashScopePng,
minimax: MiniMaxPng,
ollama: OllamaPng,
};

Expand Down
1 change: 1 addition & 0 deletions frontend/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@
"dashscope": "Alibaba Cloud",
"deepseek": "DeepSeek",
"google": "Google Cloud",
"minimax": "MiniMax",
"openai": "OpenAI",
"openai-compatible": "OpenAI Compatible API",
"openrouter": "OpenRouter",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@
"dashscope": "Alibaba Cloud",
"deepseek": "DeepSeek",
"google": "Google Cloud",
"minimax": "MiniMax",
"openai": "OpenAI",
"openai-compatible": "OpenAI互換API",
"openrouter": "OpenRouter",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/i18n/locales/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@
"dashscope": "阿里云",
"deepseek": "深度求索",
"google": "谷歌云",
"minimax": "MiniMax",
"openai": "OpenAI",
"openai-compatible": "OpenAI兼容API",
"openrouter": "OpenRouter",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/i18n/locales/zh_TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@
"dashscope": "Alibaba Cloud",
"deepseek": "DeepSeek",
"google": "Google Cloud",
"minimax": "MiniMax",
"openai": "OpenAI",
"openai-compatible": "OpenAI相容API",
"openrouter": "OpenRouter",
Expand Down
6 changes: 5 additions & 1 deletion python/configs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ models:
deepseek:
config_file: "providers/deepseek.yaml"
api_key_env: "DEEPSEEK_API_KEY"


minimax:
config_file: "providers/minimax.yaml"
api_key_env: "MINIMAX_API_KEY"

dashscope:
config_file: "providers/dashscope.yaml"
api_key_env: "DASHSCOPE_API_KEY"
Expand Down
49 changes: 49 additions & 0 deletions python/configs/providers/minimax.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# ============================================
# MiniMax Provider Configuration
# ============================================
# MiniMax provides OpenAI-compatible API endpoints for their models.
# All models support 204K context length.
#
# Usage:
# 1. Set MINIMAX_API_KEY environment variable
# 2. Set PRIMARY_PROVIDER=minimax (or use as fallback)
#
# Get your API key at: https://platform.minimaxi.com/

name: "MiniMax"
provider_type: "minimax"

enabled: true

# Connection Configuration
connection:
base_url: "https://api.minimax.io/v1"
api_key_env: "MINIMAX_API_KEY"

# Default model if none specified
default_model: "MiniMax-M2.7"

# Model Parameters Defaults
# Note: MiniMax temperature must be in (0.0, 1.0] range
defaults:
temperature: 0.7
max_tokens: 8096

# Available Models
models:
- id: "MiniMax-M2.7"
name: "MiniMax M2.7"
context_length: 204000
description: "MiniMax M2.7 - latest flagship model with 204K context"
- id: "MiniMax-M2.7-highspeed"
name: "MiniMax M2.7 Highspeed"
context_length: 204000
description: "MiniMax M2.7 Highspeed - faster variant with 204K context"
- id: "MiniMax-M2.5"
name: "MiniMax M2.5"
context_length: 204000
description: "MiniMax M2.5 model with 204K context"
- id: "MiniMax-M2.5-highspeed"
name: "MiniMax M2.5 Highspeed"
context_length: 204000
description: "MiniMax M2.5 Highspeed - faster variant with 204K context"
2 changes: 2 additions & 0 deletions python/valuecell/adapters/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
DashScopeProvider,
DeepSeekProvider,
GoogleProvider,
MiniMaxProvider,
ModelFactory,
ModelProvider,
OllamaProvider,
Expand All @@ -49,6 +50,7 @@
"AzureProvider",
"SiliconFlowProvider",
"DeepSeekProvider",
"MiniMaxProvider",
"DashScopeProvider",
"OllamaProvider",
# Convenience functions
Expand Down
53 changes: 53 additions & 0 deletions python/valuecell/adapters/models/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,58 @@ def create_model(self, model_id: Optional[str] = None, **kwargs):
)


class MiniMaxProvider(ModelProvider):
"""MiniMax model provider

MiniMax provides OpenAI-compatible API endpoints for their models
(MiniMax-M2.7, MiniMax-M2.7-highspeed, MiniMax-M2.5, MiniMax-M2.5-highspeed).
All models support 204K context length.

Configuration:
- MINIMAX_API_KEY: API key from MiniMax platform
- Base URL: https://api.minimax.io/v1 (OpenAI-compatible)
- Temperature must be in (0.0, 1.0] range
"""

def create_model(self, model_id: Optional[str] = None, **kwargs):
"""Create MiniMax model via agno (OpenAI-compatible)

Args:
model_id: Model identifier (uses default if None)
**kwargs: Additional model parameters

Returns:
OpenAILike model instance configured for MiniMax
"""
try:
from agno.models.openai import OpenAILike
except ImportError:
raise ImportError(
"agno package not installed. Install with: pip install agno"
)

model_id = model_id or self.config.default_model
params = {**self.config.parameters, **kwargs}

# MiniMax requires temperature in (0.0, 1.0]
temperature = params.get("temperature")
if temperature is not None:
temperature = max(0.01, min(float(temperature), 1.0))

logger.info(f"Creating MiniMax model: {model_id}")

return OpenAILike(
id=model_id,
api_key=self.config.api_key,
base_url=self.config.base_url,
temperature=temperature,
max_tokens=params.get("max_tokens"),
top_p=params.get("top_p"),
frequency_penalty=params.get("frequency_penalty"),
presence_penalty=params.get("presence_penalty"),
)


class DashScopeProvider(ModelProvider):
"""DashScope model provider (native)"""

Expand Down Expand Up @@ -607,6 +659,7 @@ class ModelFactory:
"openai": OpenAIProvider,
"openai-compatible": OpenAICompatibleProvider,
"deepseek": DeepSeekProvider,
"minimax": MiniMaxProvider,
"dashscope": DashScopeProvider,
"ollama": OllamaProvider,
}
Expand Down
Loading