@nine-lab/nine-mu 0.1.176 → 0.1.177

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": "@nine-lab/nine-mu",
3
- "version": "0.1.176",
3
+ "version": "0.1.177",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -129,11 +129,9 @@ export class NineChatManager {
129
129
 
130
130
  async #getRoutes(toolName, args = {}) {
131
131
 
132
- console.log(this.#routeUrl);
133
-
134
132
  const res = await fetch(this.#routeUrl);
135
133
  if (!res.ok) {
136
- throw new Error(`HTTP error! status: ${r.status}`);
134
+ throw new Error(`HTTP error! status: ${res.status}`);
137
135
  }
138
136
 
139
137
  return await res.json();
@@ -145,6 +143,8 @@ export class NineChatManager {
145
143
 
146
144
  const routes = this.#getRoutes();
147
145
 
146
+ trace.log(routes);
147
+
148
148
  return await this.#callTool("system-brain", {
149
149
  user_input : el.value.trim(),
150
150
  routes : routes,