diff --git a/src/components/OutlineEditor.vue b/src/components/OutlineEditor.vue new file mode 100644 index 00000000..63e5c78f --- /dev/null +++ b/src/components/OutlineEditor.vue @@ -0,0 +1,115 @@ + + + + + \ No newline at end of file diff --git a/src/services/index.ts b/src/services/index.ts index f0061a5b..02637997 100644 --- a/src/services/index.ts +++ b/src/services/index.ts @@ -15,7 +15,7 @@ export default { AIPPT_Outline( content: string, language: string, - model = 'doubao-1.5-pro-32k' + model: string, ): Promise { return fetch(`${SERVER_URL}/tools/aippt_outline`, { method: 'POST', @@ -34,7 +34,7 @@ export default { AIPPT( content: string, language: string, - model = 'doubao-1.5-pro-32k' + model: string, ) { return axios.post(`${SERVER_URL}/tools/aippt`, { content, diff --git a/src/views/Editor/AIPPTDialog.vue b/src/views/Editor/AIPPTDialog.vue index 5a562d0f..fd832621 100644 --- a/src/views/Editor/AIPPTDialog.vue +++ b/src/views/Editor/AIPPTDialog.vue @@ -24,6 +24,17 @@
{{ item }}
+
+
选择AI模型:
+