diff --git a/packages/ai-code/src/module/custom-language-theme/custom-language-theme.ts b/packages/ai-code/src/module/custom-language-theme/custom-language-theme.ts index 4a3e1e9ee12b389f9ded6693e6e95f05d1cf5094..d552579cc41497b3e2b3b805942d89eec132be1a 100644 --- a/packages/ai-code/src/module/custom-language-theme/custom-language-theme.ts +++ b/packages/ai-code/src/module/custom-language-theme/custom-language-theme.ts @@ -14,7 +14,7 @@ export class CustomLanguageTheme { * @type {string} * @memberof CustomTheme */ - themeName: string = ''; + themeName: string = 'vs-dark'; /** * Creates an instance of CompletionItem. diff --git a/packages/ai-code/src/monaco-editor/monaco-editor.tsx b/packages/ai-code/src/monaco-editor/monaco-editor.tsx index 4c1b1e67ba282b49476c818c822e0aa224130b71..dc095f79501ab2531c8079e0090e7bc338359df2 100644 --- a/packages/ai-code/src/monaco-editor/monaco-editor.tsx +++ b/packages/ai-code/src/monaco-editor/monaco-editor.tsx @@ -185,7 +185,7 @@ export const IBizAICode = defineComponent({ ); if (result.ok && result.data) data = result.data; } catch (error) { - ibiz.message.error(error as string); + ibiz.log.warn(error as string); } } return data; diff --git a/packages/model-design/package.json b/packages/model-design/package.json index 5b59352c627db5d57654eec2a9998d82ca66f237..1b9869b9fdc5fbab253201c32e0051a692701ca9 100644 --- a/packages/model-design/package.json +++ b/packages/model-design/package.json @@ -33,7 +33,7 @@ "publish:npm": "npm run build && npm publish --access public --registry=http://172.16.240.221:8081/repository/local/" }, "dependencies": { - "@ibiz-template-plugin/runtime-model": "0.2.1", + "@ibiz-template-plugin/runtime-model": "0.2.2", "@ibiz-template/core": "0.7.39-alpha.2", "@ibiz-template/model-helper": "0.7.39-alpha.2", "@ibiz-template/runtime": "0.7.39-alpha.2",