@nine-lab/nine-mu 0.1.181 → 0.1.183

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.181",
3
+ "version": "0.1.183",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -145,7 +145,7 @@ export class NineChatManager {
145
145
 
146
146
  addChatHistory(message) {
147
147
 
148
- this.#chatHistory.push({ role: 'ai', text: result.message });
148
+ this.#chatHistory.push({ role: 'ai', text: message });
149
149
  }
150
150
 
151
151
  handleChatSubmit = async v => {
@@ -162,7 +162,7 @@ export class NineChatManager {
162
162
  return await this.#callTool("system-brain", {
163
163
  user_input : v,
164
164
  chat_history: formattedHistory,
165
- routes : routes,
165
+ routes : this.#getRoutes(),
166
166
  current_path : "/group_member/student_management",
167
167
  });
168
168
  }