netheriteai-code 0.3.1 → 0.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "netheriteai-code",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "NetheriteAI:Code by hurdacu. High-performance coding assistant.",
5
5
  "author": "hurdacu",
6
6
  "type": "module",
package/src/cli.js CHANGED
@@ -11,7 +11,7 @@ import { printTable, resolveWorkspaceRoot } from "./utils.js";
11
11
 
12
12
  const execFileAsync = promisify(execFile);
13
13
 
14
- const VERSION = "0.3.1";
14
+ const VERSION = "0.3.3";
15
15
 
16
16
  async function handleAutoUpdate() {
17
17
  try {
package/src/ollama.js CHANGED
@@ -132,7 +132,7 @@ function createTaggedStreamParser({ onContent, onReasoning }) {
132
132
 
133
133
  export async function chatStream({ model, messages, tools, onChunk, onReasoningChunk, signal }) {
134
134
  const body = { model, messages, stream: true };
135
- if (tools && tools.length) body.tools = tools;
135
+ if (tools && tools.length && model !== "glm-5:cloud") body.tools = tools;
136
136
 
137
137
  const response = await request("/api/chat", body, signal);
138
138