How can I add custom AI chat integrations for any models include deepseek? #15625
-
I'm using Theai IDE version 1.61.0 (compiled from source). How can I add custom AI chat integrations for:
I have the following configuration values for each:
Specific queries:Extensions: Do I need to install any extensions (pre-compilation or post-compilation) to enable custom AI integrations? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi there, Great to hear you’re exploring custom AI integrations with Theia IDE 1.61.0! To connect AI models like DeepSeek (or others), Theia AI is quite flexible and supports multiple ways of integrating them. ExtensionsYes, you’ll need the appropriate extension for each LLM provider. For example:
These can be added pre-compilation or as part of a custom Theia build. More general info is also available in the docs: ConfigurationYou can configure the models via For DeepSeek specifically, we wrote a blog post with full instructions: |
Beta Was this translation helpful? Give feedback.
-
Hi Philip, Thanks for the answer. I confirm that this settings work 2025-05-22: "ai-features.openAiCustom.customOpenAiModels": [
{
"model": "deepseek-reasoner",
"url": "https://api.deepseek.com",
"id": "deepseek-reasoner", // Optional: if not provided, the model name will be used as the ID
"apiKey": "your-api-key", // Optional: use 'true' to apply the global OpenAI API key
"developerMessageSettings": "system" //Optional: Controls the handling of system messages: user, system, and developer will be used as a role, mergeWithFollowingUserMessage will prefix the following user message with the system message or convert the system message to user message if the next message is not a user message. skip will just remove the system message. Defaulting to developer.
},
{
"model": "deepseek-chat",
"url": "https://api.deepseek.com",
"id": "deepseek-chat", // Optional: if not provided, the model name will be used as the ID
"apiKey": "your-api-key", // Optional: use 'true' to apply the global OpenAI API key
"developerMessageSettings": "system" //Optional: Controls the handling of system messages: user, system, and developer will be used as a role, mergeWithFollowingUserMessage will prefix the following user message with the system message or convert the system message to user message if the next message is not a user message. skip will just remove the system message. Defaulting to developer.
}
], |
Beta Was this translation helpful? Give feedback.
Hi there,
Great to hear you’re exploring custom AI integrations with Theia IDE 1.61.0!
To connect AI models like DeepSeek (or others), Theia AI is quite flexible and supports multiple ways of integrating them.
Extensions
Yes, you’ll need the appropriate extension for each LLM provider. For example:
@theia/ai-openai
for OpenAI-compatible APIs (many providers like DeepSeek follow that API schema).These can be added pre-compilation or as part of a custom Theia build.
More general info is also available in …