@backtest-kit/ollama 0.0.2 → 0.0.4

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.
Files changed (2) hide show
  1. package/README.md +11 -11
  2. package/package.json +7 -8
package/README.md CHANGED
@@ -28,17 +28,17 @@ Transform technical analysis into trading decisions with multi-provider LLM supp
28
28
 
29
29
  | Provider | Function | Base URL |
30
30
  |----------|----------|----------|
31
- | **OpenAI** | `gpt5()` | api.openai.com |
32
- | **Claude** | `claude()` | api.anthropic.com |
33
- | **DeepSeek** | `deepseek()` | api.deepseek.com |
34
- | **Grok** | `grok()` | api.x.ai |
35
- | **Mistral** | `mistral()` | api.mistral.ai |
36
- | **Perplexity** | `perplexity()` | api.perplexity.ai |
37
- | **Cohere** | `cohere()` | api.cohere.ai |
38
- | **Alibaba** | `alibaba()` | dashscope-intl.aliyuncs.com/compatible-mode/v1 |
39
- | **Hugging Face** | `hf()` | router.huggingface.co/v1 |
40
- | **Ollama** | `ollama()` | cloud.ollama.com |
41
- | **Z.ai** | `glm4()` | api.z.ai/api/paas/v4 |
31
+ | **OpenAI** | `gpt5()` | `https://api.openai.com/v1/` |
32
+ | **Claude** | `claude()` | `https://api.anthropic.com/v1/` |
33
+ | **DeepSeek** | `deepseek()` | `https://api.deepseek.com/` |
34
+ | **Grok** | `grok()` | `https://api.x.ai/v1/` |
35
+ | **Mistral** | `mistral()` | `https://api.mistral.ai/v1/` |
36
+ | **Perplexity** | `perplexity()` | `https://api.perplexity.ai/` |
37
+ | **Cohere** | `cohere()` | `https://api.cohere.ai/compatibility/v1/` |
38
+ | **Alibaba** | `alibaba()` | `https://dashscope-intl.aliyuncs.com/compatible-mode/v1/` |
39
+ | **Hugging Face** | `hf()` | `https://router.huggingface.co/v1/` |
40
+ | **Ollama** | `ollama()` | `https://ollama.com/` |
41
+ | **Zhipu AI** | `glm4()` | `https://api.z.ai/api/paas/v4/` |
42
42
 
43
43
  **Output Schema:**
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backtest-kit/ollama",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Multi-provider LLM inference library for AI-powered trading strategies. Supports 10+ providers including OpenAI, Claude, DeepSeek, Grok, Mistral with unified API and automatic token rotation.",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",
@@ -75,15 +75,12 @@
75
75
  "ts-morph": "27.0.2",
76
76
  "tslib": "2.7.0",
77
77
  "typedoc": "0.27.9",
78
- "markdownlint": "0.38.0",
79
78
  "worker-testbed": "1.0.12",
80
79
  "ollama": "0.6.0",
81
80
  "openai": "4.97.0",
82
- "jsonrepair": "3.12.0",
83
81
  "@langchain/core": "0.3.57",
84
82
  "@langchain/xai": "0.0.2",
85
- "@huggingface/inference": "4.7.1",
86
- "sanitize-html": "2.17.0"
83
+ "@huggingface/inference": "4.7.1"
87
84
  },
88
85
  "peerDependencies": {
89
86
  "agent-swarm-kit": "^1.1.180",
@@ -91,16 +88,18 @@
91
88
  "typescript": "^5.0.0",
92
89
  "ollama": "^0.6.0",
93
90
  "openai": "^4.97.0",
94
- "jsonrepair": "^3.12.0",
95
91
  "@langchain/core": "^0.3.57",
96
92
  "@langchain/xai": "^0.0.2",
97
- "@huggingface/inference": "^4.7.1",
98
- "sanitize-html": "^2.17.0"
93
+ "@huggingface/inference": "^4.7.1"
99
94
  },
100
95
  "dependencies": {
101
96
  "di-kit": "^1.0.18",
102
97
  "di-scoped": "^1.0.20",
103
98
  "functools-kit": "^1.0.95",
99
+ "jsonrepair": "^3.12.0",
100
+ "markdown-it": "^14.1.0",
101
+ "markdownlint": "^0.38.0",
102
+ "sanitize-html": "^2.17.0",
104
103
  "get-moment-stamp": "^1.1.1"
105
104
  },
106
105
  "publishConfig": {