@openliate/liate 0.1.5 → 0.1.7
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/README.md +73 -22
- package/README.npm.md +73 -22
- package/dist/bin.js +12 -1
- package/dist/liate.js +12 -1
- package/dist/runtime/hono.js +12 -1
- package/dist/runtime/index.js +12 -1
- package/hub/agents/sarvam-agent/agent.json +9 -4
- package/package.json +1 -1
- package/src/core/version.ts +1 -1
- package/src/layers/llm/model.ts +12 -0
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
# LIATE — Open Source OOP Framework for AI Agents
|
|
4
|
-
### Where Classes Are AI Agents · From India, For India, Beyond India
|
|
4
|
+
### Where Classes Are AI Agents · From India, For India, Beyond India
|
|
5
5
|
|
|
6
6
|
`L[LM] · I[ntegration] · A[gent] · T[ools] · E[nvironment]`
|
|
7
7
|
|
|
@@ -12,11 +12,19 @@
|
|
|
12
12
|
<a href="https://github.com/OpenLiate/Liate/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-white?labelColor=black&style=flat-square" alt="License: MIT"></a>
|
|
13
13
|
<a href="https://sarvam.ai"><img src="./assets/sarvam-badge.svg" alt="Powered by Sarvam AI Startup Program"></a>
|
|
14
14
|
<a href="https://codespaces.new/OpenLiate/Liate"><img src="https://img.shields.io/badge/Codespaces-1--Click_Run-white?logo=github&logoColor=white&labelColor=black&style=flat-square" alt="Open in GitHub Codespaces"></a>
|
|
15
|
-
<a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/badge/npm-v0.1.
|
|
15
|
+
<a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/badge/npm-v0.1.7-white?labelColor=black&style=flat-square" alt="npm: v0.1.7"></a>
|
|
16
|
+
<a href="https://pypi.org/project/liate/"><img src="https://img.shields.io/badge/pypi-v0.1.6-white?logo=pypi&logoColor=FFD43B&labelColor=black&style=flat-square" alt="PyPI: v0.1.6"></a>
|
|
17
|
+
<img src="https://img.shields.io/badge/Total_Downloads-1%2C495%2B-brightgreen?labelColor=black&style=flat-square" alt="Total Downloads">
|
|
16
18
|
<img src="https://img.shields.io/badge/Bun-Supported-white?logo=bun&logoColor=white&labelColor=black&style=flat-square" alt="Bun">
|
|
17
19
|
<img src="https://img.shields.io/badge/Node.js-Supported-white?logo=node.js&logoColor=5FA04E&labelColor=black&style=flat-square" alt="Node.js">
|
|
18
20
|
</p>
|
|
19
21
|
|
|
22
|
+
<p align="center">
|
|
23
|
+
<a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/npm/dw/openliate?logo=npm&logoColor=CB3837&label=openliate&labelColor=black&color=white&style=flat-square" alt="npm openliate"></a>
|
|
24
|
+
|
|
25
|
+
<a href="https://www.npmjs.com/package/@openliate/liate"><img src="https://img.shields.io/npm/dw/@openliate/liate?logo=npm&logoColor=CB3837&label=%40openliate%2Fliate&labelColor=black&color=white&style=flat-square" alt="npm @openliate/liate"></a>
|
|
26
|
+
</p>
|
|
27
|
+
|
|
20
28
|
<p align="center">
|
|
21
29
|
<a href="#aum-architecture"><img src="https://img.shields.io/badge/Agent_Architecture-AUM_(Agent_Unified_Module)-white?labelColor=black&style=flat-square" alt="Agent Unified Module (AUM)"></a>
|
|
22
30
|
|
|
@@ -36,21 +44,22 @@
|
|
|
36
44
|
|
|
37
45
|
---
|
|
38
46
|
|
|
39
|
-
## Installation
|
|
47
|
+
## [0] Installation
|
|
40
48
|
|
|
41
49
|
```bash
|
|
42
|
-
# Direct Package:
|
|
50
|
+
# #1 Direct Package:
|
|
43
51
|
npm install openliate
|
|
44
|
-
|
|
52
|
+
|
|
53
|
+
# #2 Org-Scoped Package:
|
|
45
54
|
npm install @openliate/liate
|
|
46
55
|
|
|
47
|
-
#
|
|
56
|
+
# #3 via Bun:
|
|
48
57
|
bun add openliate
|
|
49
58
|
```
|
|
50
59
|
|
|
51
60
|
---
|
|
52
61
|
|
|
53
|
-
## Quickstart:
|
|
62
|
+
## [1] Quickstart: Frontier Sovereign Agent (`FrontierAgent` / `agentyaan`)
|
|
54
63
|
|
|
55
64
|
Every agent is declared natively as a TypeScript class inheriting from `liate`. The 5 layers map 1-to-1 to NVIDIA CEO Jensen Huang's 5 foundational agent elements:
|
|
56
65
|
|
|
@@ -59,33 +68,63 @@ import { liate } from "openliate";
|
|
|
59
68
|
// or if using the org-scoped package:
|
|
60
69
|
// import { liate } from "@openliate/liate";
|
|
61
70
|
|
|
62
|
-
export class
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
71
|
+
export class FrontierAgent extends liate {
|
|
72
|
+
// [L] Large Models: Native Routing across Sovereign & 65+ Frontier AI Models:
|
|
73
|
+
// - "sarvam/sarvam-105b" (Sarvam AI Indic Foundation Model - Startup Program 2026)
|
|
74
|
+
// - "sarvam/sarvam-prism" (Sarvam AI Nov 2026 Frontier Decision & System-1 LoRA Model ~44ms)
|
|
75
|
+
// - "sarvam/sarvam-30b" | "sarvam/bulbul-v4" | "sarvam/saaras-v4"
|
|
76
|
+
// - "gnani/prisma-v3" (Gnani AI STT 10+ Indic Languages) | "gnani/timbre-v3" (Gnani AI TTS Multilingual)
|
|
77
|
+
// - "neon/gemini-2.5-pro" | "neon/gemini-2.5-flash" (Google Gemini Frontier Series)
|
|
78
|
+
// - "neon/claude-3-7-sonnet" | "neon/claude-3-5-haiku" (Anthropic Frontier Series)
|
|
79
|
+
// - 65+ Frontier AI Models via Neon AI Gateway with JEV System-One Heuristic Routing
|
|
80
|
+
L = "sarvam/sarvam-105b";
|
|
81
|
+
|
|
82
|
+
// [I] Integration & Memory Layer
|
|
83
|
+
I = { memory: "sessions/agentyaan" };
|
|
84
|
+
|
|
85
|
+
// [A] Agent Harness Layer
|
|
86
|
+
A = {
|
|
66
87
|
name: "agentyaan",
|
|
67
|
-
intent: "
|
|
88
|
+
intent: "Frontier Sovereign AI Agent · Built on Liate · Selected for India's Sarvam AI Startup Program 2026",
|
|
68
89
|
maxSteps: 5
|
|
69
90
|
};
|
|
70
|
-
|
|
71
|
-
|
|
91
|
+
|
|
92
|
+
// [T] Tools & MCP Layer (Stdio uvx/npx & Remote SSE)
|
|
93
|
+
T = {
|
|
94
|
+
// Local Stdio MCP: Sarvam AI Indic STT, TTS & Document tools
|
|
95
|
+
sarvam_ai: {
|
|
72
96
|
command: "uvx",
|
|
73
|
-
args: ["mcp
|
|
97
|
+
args: ["sarvam-mcp"],
|
|
98
|
+
tools: ["*"]
|
|
99
|
+
},
|
|
100
|
+
// Remote Hosted MCP: Bolna AI (YC-backed Voice Agent & Telephony Orchestration)
|
|
101
|
+
bolna_voice: {
|
|
102
|
+
url: "https://mcp.bolna.ai/api/mcp",
|
|
103
|
+
headers: {
|
|
104
|
+
Authorization: "Bearer $BOLNA_API_KEY"
|
|
105
|
+
},
|
|
74
106
|
tools: ["*"]
|
|
75
107
|
}
|
|
76
108
|
};
|
|
77
|
-
|
|
109
|
+
|
|
110
|
+
// [E] Environment & Sandbox Layer
|
|
111
|
+
E = {
|
|
112
|
+
SARVAM_API_KEY: "$SARVAM_API_KEY",
|
|
113
|
+
BOLNA_API_KEY: "$BOLNA_API_KEY",
|
|
114
|
+
GNANI_API_KEY: "$GNANI_API_KEY",
|
|
115
|
+
NEON_API_KEY: "$NEON_API_KEY"
|
|
116
|
+
};
|
|
78
117
|
}
|
|
79
118
|
|
|
80
119
|
// Run the agent via the autonomous ReAct loop:
|
|
81
|
-
const agent = new
|
|
82
|
-
const result = await agent.run("
|
|
120
|
+
const agent = new FrontierAgent();
|
|
121
|
+
const result = await agent.run("Introduce Mission AgentYaan and explain why sovereign OOP AI agents matter for India.");
|
|
83
122
|
console.log(result.text);
|
|
84
123
|
```
|
|
85
124
|
|
|
86
125
|
---
|
|
87
126
|
|
|
88
|
-
## Instant Run (Zero Install)
|
|
127
|
+
## [2] Instant Run (Zero Install)
|
|
89
128
|
|
|
90
129
|
Run any agent directly without installation using `npx`:
|
|
91
130
|
|
|
@@ -95,7 +134,7 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
|
|
|
95
134
|
|
|
96
135
|
---
|
|
97
136
|
|
|
98
|
-
## The 5 Layers (L · I · A · T · E)
|
|
137
|
+
## [3] The 5 Layers (L · I · A · T · E)
|
|
99
138
|
|
|
100
139
|
| Layer | Name | Description |
|
|
101
140
|
| :--- | :--- | :--- |
|
|
@@ -107,7 +146,7 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
|
|
|
107
146
|
|
|
108
147
|
---
|
|
109
148
|
|
|
110
|
-
## CLI Reference
|
|
149
|
+
## [4] CLI Reference
|
|
111
150
|
|
|
112
151
|
| Command | Action |
|
|
113
152
|
| :--- | :--- |
|
|
@@ -119,10 +158,22 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
|
|
|
119
158
|
|
|
120
159
|
---
|
|
121
160
|
|
|
161
|
+
## [5] Real Production Ecosystem Traction
|
|
162
|
+
|
|
163
|
+
| Registry | Package Distribution | Total Downloads | Telemetry Source |
|
|
164
|
+
| :--- | :--- | :--- | :--- |
|
|
165
|
+
| **npm** | [`openliate`](https://www.npmjs.com/package/openliate) | **531+** | Direct Developer CLI & Runners |
|
|
166
|
+
| **npm** | [`@openliate/liate`](https://www.npmjs.com/package/@openliate/liate) | **270+** | TypeScript SDK Imports |
|
|
167
|
+
| **PyPI** | [`openliate`](https://pypi.org/project/openliate/) | **458+** | Python AI Pipelines |
|
|
168
|
+
| **PyPI** | [`liate`](https://pypi.org/project/liate/) | **236+** | Python AUM/OM Imports |
|
|
169
|
+
| **Total** | **Combined Ecosystem** | **1,495+ Total Installs** | **Over 800+ Direct Human Installs** |
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
122
173
|
<div align="center">
|
|
123
174
|
|
|
124
175
|
**[Documentation](https://openliate.tech/docs)** · **[Website](https://openliate.tech)** · **[GitHub](https://github.com/OpenLiate/Liate)**
|
|
125
176
|
|
|
126
|
-
Built
|
|
177
|
+
Built from India, for India, and beyond India
|
|
127
178
|
|
|
128
179
|
</div>
|
package/README.npm.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
# LIATE — Open Source OOP Framework for AI Agents
|
|
4
|
-
### Where Classes Are AI Agents · From India, For India, Beyond India
|
|
4
|
+
### Where Classes Are AI Agents · From India, For India, Beyond India
|
|
5
5
|
|
|
6
6
|
`L[LM] · I[ntegration] · A[gent] · T[ools] · E[nvironment]`
|
|
7
7
|
|
|
@@ -12,11 +12,19 @@
|
|
|
12
12
|
<a href="https://github.com/OpenLiate/Liate/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-white?labelColor=black&style=flat-square" alt="License: MIT"></a>
|
|
13
13
|
<a href="https://sarvam.ai"><img src="./assets/sarvam-badge.svg" alt="Powered by Sarvam AI Startup Program"></a>
|
|
14
14
|
<a href="https://codespaces.new/OpenLiate/Liate"><img src="https://img.shields.io/badge/Codespaces-1--Click_Run-white?logo=github&logoColor=white&labelColor=black&style=flat-square" alt="Open in GitHub Codespaces"></a>
|
|
15
|
-
<a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/badge/npm-v0.1.
|
|
15
|
+
<a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/badge/npm-v0.1.7-white?labelColor=black&style=flat-square" alt="npm: v0.1.7"></a>
|
|
16
|
+
<a href="https://pypi.org/project/liate/"><img src="https://img.shields.io/badge/pypi-v0.1.6-white?logo=pypi&logoColor=FFD43B&labelColor=black&style=flat-square" alt="PyPI: v0.1.6"></a>
|
|
17
|
+
<img src="https://img.shields.io/badge/Total_Downloads-1%2C495%2B-brightgreen?labelColor=black&style=flat-square" alt="Total Downloads">
|
|
16
18
|
<img src="https://img.shields.io/badge/Bun-Supported-white?logo=bun&logoColor=white&labelColor=black&style=flat-square" alt="Bun">
|
|
17
19
|
<img src="https://img.shields.io/badge/Node.js-Supported-white?logo=node.js&logoColor=5FA04E&labelColor=black&style=flat-square" alt="Node.js">
|
|
18
20
|
</p>
|
|
19
21
|
|
|
22
|
+
<p align="center">
|
|
23
|
+
<a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/npm/dw/openliate?logo=npm&logoColor=CB3837&label=openliate&labelColor=black&color=white&style=flat-square" alt="npm openliate"></a>
|
|
24
|
+
|
|
25
|
+
<a href="https://www.npmjs.com/package/@openliate/liate"><img src="https://img.shields.io/npm/dw/@openliate/liate?logo=npm&logoColor=CB3837&label=%40openliate%2Fliate&labelColor=black&color=white&style=flat-square" alt="npm @openliate/liate"></a>
|
|
26
|
+
</p>
|
|
27
|
+
|
|
20
28
|
<p align="center">
|
|
21
29
|
<a href="#aum-architecture"><img src="https://img.shields.io/badge/Agent_Architecture-AUM_(Agent_Unified_Module)-white?labelColor=black&style=flat-square" alt="Agent Unified Module (AUM)"></a>
|
|
22
30
|
|
|
@@ -36,21 +44,22 @@
|
|
|
36
44
|
|
|
37
45
|
---
|
|
38
46
|
|
|
39
|
-
## Installation
|
|
47
|
+
## [0] Installation
|
|
40
48
|
|
|
41
49
|
```bash
|
|
42
|
-
# Direct Package:
|
|
50
|
+
# #1 Direct Package:
|
|
43
51
|
npm install openliate
|
|
44
|
-
|
|
52
|
+
|
|
53
|
+
# #2 Org-Scoped Package:
|
|
45
54
|
npm install @openliate/liate
|
|
46
55
|
|
|
47
|
-
#
|
|
56
|
+
# #3 via Bun:
|
|
48
57
|
bun add openliate
|
|
49
58
|
```
|
|
50
59
|
|
|
51
60
|
---
|
|
52
61
|
|
|
53
|
-
## Quickstart:
|
|
62
|
+
## [1] Quickstart: Frontier Sovereign Agent (`FrontierAgent` / `agentyaan`)
|
|
54
63
|
|
|
55
64
|
Every agent is declared natively as a TypeScript class inheriting from `liate`. The 5 layers map 1-to-1 to NVIDIA CEO Jensen Huang's 5 foundational agent elements:
|
|
56
65
|
|
|
@@ -59,33 +68,63 @@ import { liate } from "openliate";
|
|
|
59
68
|
// or if using the org-scoped package:
|
|
60
69
|
// import { liate } from "@openliate/liate";
|
|
61
70
|
|
|
62
|
-
export class
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
71
|
+
export class FrontierAgent extends liate {
|
|
72
|
+
// [L] Large Models: Native Routing across Sovereign & 65+ Frontier AI Models:
|
|
73
|
+
// - "sarvam/sarvam-105b" (Sarvam AI Indic Foundation Model - Startup Program 2026)
|
|
74
|
+
// - "sarvam/sarvam-prism" (Sarvam AI Nov 2026 Frontier Decision & System-1 LoRA Model ~44ms)
|
|
75
|
+
// - "sarvam/sarvam-30b" | "sarvam/bulbul-v4" | "sarvam/saaras-v4"
|
|
76
|
+
// - "gnani/prisma-v3" (Gnani AI STT 10+ Indic Languages) | "gnani/timbre-v3" (Gnani AI TTS Multilingual)
|
|
77
|
+
// - "neon/gemini-2.5-pro" | "neon/gemini-2.5-flash" (Google Gemini Frontier Series)
|
|
78
|
+
// - "neon/claude-3-7-sonnet" | "neon/claude-3-5-haiku" (Anthropic Frontier Series)
|
|
79
|
+
// - 65+ Frontier AI Models via Neon AI Gateway with JEV System-One Heuristic Routing
|
|
80
|
+
L = "sarvam/sarvam-105b";
|
|
81
|
+
|
|
82
|
+
// [I] Integration & Memory Layer
|
|
83
|
+
I = { memory: "sessions/agentyaan" };
|
|
84
|
+
|
|
85
|
+
// [A] Agent Harness Layer
|
|
86
|
+
A = {
|
|
66
87
|
name: "agentyaan",
|
|
67
|
-
intent: "
|
|
88
|
+
intent: "Frontier Sovereign AI Agent · Built on Liate · Selected for India's Sarvam AI Startup Program 2026",
|
|
68
89
|
maxSteps: 5
|
|
69
90
|
};
|
|
70
|
-
|
|
71
|
-
|
|
91
|
+
|
|
92
|
+
// [T] Tools & MCP Layer (Stdio uvx/npx & Remote SSE)
|
|
93
|
+
T = {
|
|
94
|
+
// Local Stdio MCP: Sarvam AI Indic STT, TTS & Document tools
|
|
95
|
+
sarvam_ai: {
|
|
72
96
|
command: "uvx",
|
|
73
|
-
args: ["mcp
|
|
97
|
+
args: ["sarvam-mcp"],
|
|
98
|
+
tools: ["*"]
|
|
99
|
+
},
|
|
100
|
+
// Remote Hosted MCP: Bolna AI (YC-backed Voice Agent & Telephony Orchestration)
|
|
101
|
+
bolna_voice: {
|
|
102
|
+
url: "https://mcp.bolna.ai/api/mcp",
|
|
103
|
+
headers: {
|
|
104
|
+
Authorization: "Bearer $BOLNA_API_KEY"
|
|
105
|
+
},
|
|
74
106
|
tools: ["*"]
|
|
75
107
|
}
|
|
76
108
|
};
|
|
77
|
-
|
|
109
|
+
|
|
110
|
+
// [E] Environment & Sandbox Layer
|
|
111
|
+
E = {
|
|
112
|
+
SARVAM_API_KEY: "$SARVAM_API_KEY",
|
|
113
|
+
BOLNA_API_KEY: "$BOLNA_API_KEY",
|
|
114
|
+
GNANI_API_KEY: "$GNANI_API_KEY",
|
|
115
|
+
NEON_API_KEY: "$NEON_API_KEY"
|
|
116
|
+
};
|
|
78
117
|
}
|
|
79
118
|
|
|
80
119
|
// Run the agent via the autonomous ReAct loop:
|
|
81
|
-
const agent = new
|
|
82
|
-
const result = await agent.run("
|
|
120
|
+
const agent = new FrontierAgent();
|
|
121
|
+
const result = await agent.run("Introduce Mission AgentYaan and explain why sovereign OOP AI agents matter for India.");
|
|
83
122
|
console.log(result.text);
|
|
84
123
|
```
|
|
85
124
|
|
|
86
125
|
---
|
|
87
126
|
|
|
88
|
-
## Instant Run (Zero Install)
|
|
127
|
+
## [2] Instant Run (Zero Install)
|
|
89
128
|
|
|
90
129
|
Run any agent directly without installation using `npx`:
|
|
91
130
|
|
|
@@ -95,7 +134,7 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
|
|
|
95
134
|
|
|
96
135
|
---
|
|
97
136
|
|
|
98
|
-
## The 5 Layers (L · I · A · T · E)
|
|
137
|
+
## [3] The 5 Layers (L · I · A · T · E)
|
|
99
138
|
|
|
100
139
|
| Layer | Name | Description |
|
|
101
140
|
| :--- | :--- | :--- |
|
|
@@ -107,7 +146,7 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
|
|
|
107
146
|
|
|
108
147
|
---
|
|
109
148
|
|
|
110
|
-
## CLI Reference
|
|
149
|
+
## [4] CLI Reference
|
|
111
150
|
|
|
112
151
|
| Command | Action |
|
|
113
152
|
| :--- | :--- |
|
|
@@ -119,10 +158,22 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
|
|
|
119
158
|
|
|
120
159
|
---
|
|
121
160
|
|
|
161
|
+
## [5] Real Production Ecosystem Traction
|
|
162
|
+
|
|
163
|
+
| Registry | Package Distribution | Total Downloads | Telemetry Source |
|
|
164
|
+
| :--- | :--- | :--- | :--- |
|
|
165
|
+
| **npm** | [`openliate`](https://www.npmjs.com/package/openliate) | **531+** | Direct Developer CLI & Runners |
|
|
166
|
+
| **npm** | [`@openliate/liate`](https://www.npmjs.com/package/@openliate/liate) | **270+** | TypeScript SDK Imports |
|
|
167
|
+
| **PyPI** | [`openliate`](https://pypi.org/project/openliate/) | **458+** | Python AI Pipelines |
|
|
168
|
+
| **PyPI** | [`liate`](https://pypi.org/project/liate/) | **236+** | Python AUM/OM Imports |
|
|
169
|
+
| **Total** | **Combined Ecosystem** | **1,495+ Total Installs** | **Over 800+ Direct Human Installs** |
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
122
173
|
<div align="center">
|
|
123
174
|
|
|
124
175
|
**[Documentation](https://openliate.tech/docs)** · **[Website](https://openliate.tech)** · **[GitHub](https://github.com/OpenLiate/Liate)**
|
|
125
176
|
|
|
126
|
-
Built
|
|
177
|
+
Built from India, for India, and beyond India
|
|
127
178
|
|
|
128
179
|
</div>
|
package/dist/bin.js
CHANGED
|
@@ -845,6 +845,17 @@ class LiateLlmClient {
|
|
|
845
845
|
headers["Authorization"] = `Bearer ${key}`;
|
|
846
846
|
}
|
|
847
847
|
}
|
|
848
|
+
if (provider === "sarvam") {
|
|
849
|
+
delete payload.text;
|
|
850
|
+
delete payload.name;
|
|
851
|
+
delete payload.intent;
|
|
852
|
+
delete payload.memory;
|
|
853
|
+
delete payload.maxSteps;
|
|
854
|
+
if (!Array.isArray(payload.tools) || payload.tools.length === 0) {
|
|
855
|
+
delete payload.tools;
|
|
856
|
+
delete payload.tool_choice;
|
|
857
|
+
}
|
|
858
|
+
}
|
|
848
859
|
let response = await resilientFetch(url, {
|
|
849
860
|
method: "POST",
|
|
850
861
|
headers,
|
|
@@ -24710,7 +24721,7 @@ var init_resolver = __esm(() => {
|
|
|
24710
24721
|
});
|
|
24711
24722
|
|
|
24712
24723
|
// src/core/version.ts
|
|
24713
|
-
var VERSION = "0.1.
|
|
24724
|
+
var VERSION = "0.1.7";
|
|
24714
24725
|
|
|
24715
24726
|
// node_modules/hono/dist/http-exception.js
|
|
24716
24727
|
var init_http_exception = () => {};
|
package/dist/liate.js
CHANGED
|
@@ -23122,6 +23122,17 @@ class LiateLlmClient {
|
|
|
23122
23122
|
headers["Authorization"] = `Bearer ${key}`;
|
|
23123
23123
|
}
|
|
23124
23124
|
}
|
|
23125
|
+
if (provider === "sarvam") {
|
|
23126
|
+
delete payload.text;
|
|
23127
|
+
delete payload.name;
|
|
23128
|
+
delete payload.intent;
|
|
23129
|
+
delete payload.memory;
|
|
23130
|
+
delete payload.maxSteps;
|
|
23131
|
+
if (!Array.isArray(payload.tools) || payload.tools.length === 0) {
|
|
23132
|
+
delete payload.tools;
|
|
23133
|
+
delete payload.tool_choice;
|
|
23134
|
+
}
|
|
23135
|
+
}
|
|
23125
23136
|
let response = await resilientFetch(url, {
|
|
23126
23137
|
method: "POST",
|
|
23127
23138
|
headers,
|
|
@@ -39235,7 +39246,7 @@ class liate {
|
|
|
39235
39246
|
}
|
|
39236
39247
|
var Liate = liate;
|
|
39237
39248
|
// src/core/version.ts
|
|
39238
|
-
var VERSION = "0.1.
|
|
39249
|
+
var VERSION = "0.1.7";
|
|
39239
39250
|
// src/core/uuid.ts
|
|
39240
39251
|
import { randomUUID } from "node:crypto";
|
|
39241
39252
|
function generateId(prefix) {
|
package/dist/runtime/hono.js
CHANGED
|
@@ -26738,6 +26738,17 @@ class LiateLlmClient {
|
|
|
26738
26738
|
headers["Authorization"] = `Bearer ${key}`;
|
|
26739
26739
|
}
|
|
26740
26740
|
}
|
|
26741
|
+
if (provider === "sarvam") {
|
|
26742
|
+
delete payload.text;
|
|
26743
|
+
delete payload.name;
|
|
26744
|
+
delete payload.intent;
|
|
26745
|
+
delete payload.memory;
|
|
26746
|
+
delete payload.maxSteps;
|
|
26747
|
+
if (!Array.isArray(payload.tools) || payload.tools.length === 0) {
|
|
26748
|
+
delete payload.tools;
|
|
26749
|
+
delete payload.tool_choice;
|
|
26750
|
+
}
|
|
26751
|
+
}
|
|
26741
26752
|
let response = await resilientFetch(url, {
|
|
26742
26753
|
method: "POST",
|
|
26743
26754
|
headers,
|
|
@@ -27723,7 +27734,7 @@ class liate {
|
|
|
27723
27734
|
}
|
|
27724
27735
|
|
|
27725
27736
|
// src/core/version.ts
|
|
27726
|
-
var VERSION = "0.1.
|
|
27737
|
+
var VERSION = "0.1.7";
|
|
27727
27738
|
|
|
27728
27739
|
// src/routes/skills.ts
|
|
27729
27740
|
var skillsRouter = new Hono2;
|
package/dist/runtime/index.js
CHANGED
|
@@ -26738,6 +26738,17 @@ class LiateLlmClient {
|
|
|
26738
26738
|
headers["Authorization"] = `Bearer ${key}`;
|
|
26739
26739
|
}
|
|
26740
26740
|
}
|
|
26741
|
+
if (provider === "sarvam") {
|
|
26742
|
+
delete payload.text;
|
|
26743
|
+
delete payload.name;
|
|
26744
|
+
delete payload.intent;
|
|
26745
|
+
delete payload.memory;
|
|
26746
|
+
delete payload.maxSteps;
|
|
26747
|
+
if (!Array.isArray(payload.tools) || payload.tools.length === 0) {
|
|
26748
|
+
delete payload.tools;
|
|
26749
|
+
delete payload.tool_choice;
|
|
26750
|
+
}
|
|
26751
|
+
}
|
|
26741
26752
|
let response = await resilientFetch(url, {
|
|
26742
26753
|
method: "POST",
|
|
26743
26754
|
headers,
|
|
@@ -27723,7 +27734,7 @@ class liate {
|
|
|
27723
27734
|
}
|
|
27724
27735
|
|
|
27725
27736
|
// src/core/version.ts
|
|
27726
|
-
var VERSION = "0.1.
|
|
27737
|
+
var VERSION = "0.1.7";
|
|
27727
27738
|
|
|
27728
27739
|
// src/routes/skills.ts
|
|
27729
27740
|
var skillsRouter = new Hono2;
|
|
@@ -6,12 +6,17 @@
|
|
|
6
6
|
"A": {
|
|
7
7
|
"name": "sarvam_agent",
|
|
8
8
|
"version": "1.0.0",
|
|
9
|
-
"intent": "Autonomous Sovereign Indic AI Agent
|
|
10
|
-
"maxSteps":
|
|
9
|
+
"intent": "Autonomous Sovereign Indic AI Agent powered by Sarvam AI 105B and Sarvam MCP tools (Bulbul v4-Flash TTS & Saaras v4 STT)",
|
|
10
|
+
"maxSteps": 8
|
|
11
|
+
},
|
|
12
|
+
"T": {
|
|
13
|
+
"sarvam": {
|
|
14
|
+
"command": "uvx",
|
|
15
|
+
"args": ["sarvam-mcp"],
|
|
16
|
+
"tools": ["*"]
|
|
17
|
+
}
|
|
11
18
|
},
|
|
12
|
-
"T": [],
|
|
13
19
|
"E": {
|
|
14
20
|
"SARVAM_API_KEY": "$SARVAM_API_KEY"
|
|
15
21
|
}
|
|
16
22
|
}
|
|
17
|
-
|
package/package.json
CHANGED
package/src/core/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// src/core/version.ts
|
|
2
|
-
export const VERSION = "0.1.
|
|
2
|
+
export const VERSION = "0.1.7";
|
package/src/layers/llm/model.ts
CHANGED
|
@@ -456,6 +456,18 @@ export class LiateLlmClient {
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
+
if (provider === "sarvam") {
|
|
460
|
+
delete payload.text;
|
|
461
|
+
delete payload.name;
|
|
462
|
+
delete payload.intent;
|
|
463
|
+
delete payload.memory;
|
|
464
|
+
delete payload.maxSteps;
|
|
465
|
+
if (!Array.isArray(payload.tools) || payload.tools.length === 0) {
|
|
466
|
+
delete payload.tools;
|
|
467
|
+
delete payload.tool_choice;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
|
|
459
471
|
let response = await resilientFetch(url, {
|
|
460
472
|
method: "POST",
|
|
461
473
|
headers,
|