@amitdeshmukh/ax-crew 3.9.0 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +3 -0
- package/CHANGELOG.md +14 -1
- package/dist/agents/agentConfig.js +4 -2
- package/dist/config/index.js +7 -1
- package/package.json +1 -1
- package/src/agents/agentConfig.ts +4 -2
- package/src/config/index.ts +8 -1
package/.env.example
CHANGED
|
@@ -7,3 +7,6 @@ MISTRAL_API_KEY=sk-mistral-api********cQAA
|
|
|
7
7
|
GROK_API_KEY=sk-grok-api********cQAA
|
|
8
8
|
TOGETHER_API_KEY=sk-together-api********cQAA
|
|
9
9
|
HUGGINGFACE_API_KEY=sk-huggingface-api********cQAA
|
|
10
|
+
DEEPSEEK_API_KEY=sk-deepseek-api*****cQAA
|
|
11
|
+
REKA_API_KEY=sk-reka-api********cQAA
|
|
12
|
+
GROK_API_KEY=sk-grok-api*********cQAA
|
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,20 @@ This Changelog format is based on [Keep a Changelog]
|
|
|
5
5
|
adheres to [Semantic Versioning](https://semver.org/spec/
|
|
6
6
|
v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [3.
|
|
8
|
+
## [3.10.0] - 2025-05-28
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Support for Reka AI models through `AxAIReka` provider
|
|
12
|
+
- Support for Grok (xAI) models through `AxAIGrok` provider
|
|
13
|
+
- Added `REKA_API_KEY` and `GROK_API_KEY` environment variable support
|
|
14
|
+
- Added `DEEPSEEK_API_KEY` environment variable support for DeepSeek models
|
|
15
|
+
- Enhanced provider configuration to include all supported AI providers
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- Updated `src/config/index.ts` to include API keys for all supported providers
|
|
19
|
+
- Improved provider API key management for better consistency across all supported models
|
|
20
|
+
|
|
21
|
+
## [3.9.0] - 2025-05-28
|
|
9
22
|
|
|
10
23
|
### Fixed
|
|
11
24
|
- Updated @ax-llm/ax package to 11.0.47
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
2
|
// Import all the providers
|
|
3
|
-
import { AxAIAnthropic, AxAIOpenAI, AxAIAzureOpenAI, AxAICohere, AxAIDeepSeek, AxAIGoogleGemini, AxAIGroq, AxAIHuggingFace, AxAIMistral, AxAIOllama, AxAITogether } from '@ax-llm/ax';
|
|
3
|
+
import { AxAIAnthropic, AxAIOpenAI, AxAIAzureOpenAI, AxAICohere, AxAIDeepSeek, AxAIGoogleGemini, AxAIGroq, AxAIHuggingFace, AxAIMistral, AxAIOllama, AxAITogether, AxAIReka, AxAIGrok } from '@ax-llm/ax';
|
|
4
4
|
// Import the MCP client and transports
|
|
5
5
|
import { AxMCPClient, AxMCPStdioTransport, AxMCPHTTPTransport } from '@ax-llm/ax';
|
|
6
6
|
import { PROVIDER_API_KEYS } from '../config/index.js';
|
|
@@ -16,7 +16,9 @@ const AIConstructors = {
|
|
|
16
16
|
'mistral': AxAIMistral,
|
|
17
17
|
'ollama': AxAIOllama,
|
|
18
18
|
'openai': AxAIOpenAI,
|
|
19
|
-
'together': AxAITogether
|
|
19
|
+
'together': AxAITogether,
|
|
20
|
+
'reka': AxAIReka,
|
|
21
|
+
'grok': AxAIGrok
|
|
20
22
|
};
|
|
21
23
|
// Type guard to check if config is stdio transport
|
|
22
24
|
export function isStdioTransport(config) {
|
package/dist/config/index.js
CHANGED
|
@@ -4,19 +4,25 @@ dotenv.config();
|
|
|
4
4
|
const ANTHROPIC_API_KEY = process.env.ANTHROPIC_API_KEY;
|
|
5
5
|
const OPENAI_API_KEY = process.env.OPENAI_API_KEY;
|
|
6
6
|
const COHERE_API_KEY = process.env.COHERE_API_KEY;
|
|
7
|
+
const DEEPSEEK_API_KEY = process.env.DEEPSEEK_API_KEY;
|
|
7
8
|
const GEMINI_API_KEY = process.env.GEMINI_API_KEY;
|
|
8
9
|
const GROQ_API_KEY = process.env.GROQ_API_KEY;
|
|
9
10
|
const TOGETHER_API_KEY = process.env.TOGETHER_API_KEY;
|
|
10
11
|
const MISTRAL_API_KEY = process.env.MISTRAL_API_KEY;
|
|
11
12
|
const HUGGINGFACE_API_KEY = process.env.HUGGINGFACE_API_KEY;
|
|
13
|
+
const REKA_API_KEY = process.env.REKA_API_KEY;
|
|
14
|
+
const GROK_API_KEY = process.env.GROK_API_KEY;
|
|
12
15
|
const PROVIDER_API_KEYS = {
|
|
13
16
|
COHERE_API_KEY,
|
|
14
17
|
GEMINI_API_KEY,
|
|
15
18
|
OPENAI_API_KEY,
|
|
16
19
|
ANTHROPIC_API_KEY,
|
|
20
|
+
DEEPSEEK_API_KEY,
|
|
17
21
|
GROQ_API_KEY,
|
|
18
22
|
TOGETHER_API_KEY,
|
|
19
23
|
MISTRAL_API_KEY,
|
|
20
|
-
HUGGINGFACE_API_KEY
|
|
24
|
+
HUGGINGFACE_API_KEY,
|
|
25
|
+
REKA_API_KEY,
|
|
26
|
+
GROK_API_KEY
|
|
21
27
|
};
|
|
22
28
|
export { PROVIDER_API_KEYS, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
2
|
// Import all the providers
|
|
3
|
-
import { AxAIAnthropic, AxAIOpenAI, AxAIAzureOpenAI, AxAICohere, AxAIDeepSeek, AxAIGoogleGemini, AxAIGroq, AxAIHuggingFace, AxAIMistral, AxAIOllama, AxAITogether } from '@ax-llm/ax';
|
|
3
|
+
import { AxAIAnthropic, AxAIOpenAI, AxAIAzureOpenAI, AxAICohere, AxAIDeepSeek, AxAIGoogleGemini, AxAIGroq, AxAIHuggingFace, AxAIMistral, AxAIOllama, AxAITogether, AxAIReka, AxAIGrok } from '@ax-llm/ax';
|
|
4
4
|
// Import Ax types
|
|
5
5
|
import type { AxFunction } from '@ax-llm/ax';
|
|
6
6
|
// Import the MCP client and transports
|
|
@@ -27,7 +27,9 @@ const AIConstructors: Record<string, any> = {
|
|
|
27
27
|
'mistral': AxAIMistral,
|
|
28
28
|
'ollama': AxAIOllama,
|
|
29
29
|
'openai': AxAIOpenAI,
|
|
30
|
-
'together': AxAITogether
|
|
30
|
+
'together': AxAITogether,
|
|
31
|
+
'reka': AxAIReka,
|
|
32
|
+
'grok': AxAIGrok
|
|
31
33
|
};
|
|
32
34
|
|
|
33
35
|
// Provider type
|
package/src/config/index.ts
CHANGED
|
@@ -5,11 +5,15 @@ dotenv.config();
|
|
|
5
5
|
const ANTHROPIC_API_KEY: string | undefined = process.env.ANTHROPIC_API_KEY;
|
|
6
6
|
const OPENAI_API_KEY: string | undefined = process.env.OPENAI_API_KEY;
|
|
7
7
|
const COHERE_API_KEY: string | undefined = process.env.COHERE_API_KEY;
|
|
8
|
+
const DEEPSEEK_API_KEY: string | undefined = process.env.DEEPSEEK_API_KEY;
|
|
8
9
|
const GEMINI_API_KEY: string | undefined = process.env.GEMINI_API_KEY;
|
|
9
10
|
const GROQ_API_KEY: string | undefined = process.env.GROQ_API_KEY;
|
|
10
11
|
const TOGETHER_API_KEY: string | undefined = process.env.TOGETHER_API_KEY;
|
|
11
12
|
const MISTRAL_API_KEY: string | undefined = process.env.MISTRAL_API_KEY;
|
|
12
13
|
const HUGGINGFACE_API_KEY: string | undefined = process.env.HUGGINGFACE_API_KEY;
|
|
14
|
+
const REKA_API_KEY: string | undefined = process.env.REKA_API_KEY;
|
|
15
|
+
const GROK_API_KEY: string | undefined = process.env.GROK_API_KEY;
|
|
16
|
+
// Note: Ollama typically doesn't require an API key for local usage
|
|
13
17
|
|
|
14
18
|
interface ProviderApiKeys {
|
|
15
19
|
[key: string]: string | undefined;
|
|
@@ -20,10 +24,13 @@ const PROVIDER_API_KEYS: ProviderApiKeys = {
|
|
|
20
24
|
GEMINI_API_KEY,
|
|
21
25
|
OPENAI_API_KEY,
|
|
22
26
|
ANTHROPIC_API_KEY,
|
|
27
|
+
DEEPSEEK_API_KEY,
|
|
23
28
|
GROQ_API_KEY,
|
|
24
29
|
TOGETHER_API_KEY,
|
|
25
30
|
MISTRAL_API_KEY,
|
|
26
|
-
HUGGINGFACE_API_KEY
|
|
31
|
+
HUGGINGFACE_API_KEY,
|
|
32
|
+
REKA_API_KEY,
|
|
33
|
+
GROK_API_KEY
|
|
27
34
|
};
|
|
28
35
|
|
|
29
36
|
export {
|