@nine-lab/nine-mu 0.1.99 → 0.1.101
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/dist/nine-mu.js +7 -6
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +1 -1
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NineChat.js +4 -2
package/package.json
CHANGED
|
@@ -144,7 +144,7 @@ export class NineChat extends HTMLElement {
|
|
|
144
144
|
|
|
145
145
|
#makeMenuHandler = async e => {
|
|
146
146
|
|
|
147
|
-
const prompt = await nine.prompt("메뉴생성시 필요한 AI 프롬프트를 입력하세요.");
|
|
147
|
+
const prompt = await nine.prompt("메뉴생성시 필요한 AI 프롬프트를 입력하세요.").rgb();
|
|
148
148
|
if (prompt === null || prompt === undefined) return;
|
|
149
149
|
|
|
150
150
|
const res = await api.post(`/nine-mu/source/readFile`, { path: this.#routesPath });
|
|
@@ -175,7 +175,9 @@ export class NineChat extends HTMLElement {
|
|
|
175
175
|
|
|
176
176
|
trace.log(saveRes);
|
|
177
177
|
*/
|
|
178
|
-
|
|
178
|
+
trace.log(res2?.tasks);
|
|
179
|
+
this.#showDiff(jsonRoutes, JSON.stringify(res2?.tasks, null, 2), "json");
|
|
180
|
+
//this.#showDiff(jsonRoutes, res2?.tasks, "json");
|
|
179
181
|
}
|
|
180
182
|
}
|
|
181
183
|
|