mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-03-27 05:43:42 +08:00
llm config fix
This commit is contained in:
11
frontend/src/composables/ai/useAiAction.ts
Normal file
11
frontend/src/composables/ai/useAiAction.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import client from "../../api/client";
|
||||
|
||||
const useAiAction = () => {
|
||||
const actionChat = (message: string) => {
|
||||
return client.POST("/ai/action/chat", {
|
||||
body: message,
|
||||
});
|
||||
};
|
||||
|
||||
return { actionChat };
|
||||
};
|
||||
Reference in New Issue
Block a user