feat: config manager modal

This commit is contained in:
AnotiaWang
2025-02-12 00:05:27 +08:00
parent d027965013
commit 4b75c254a5
9 changed files with 251 additions and 49 deletions

9
composables/useTavily.ts Normal file
View File

@ -0,0 +1,9 @@
import { tavily } from '@tavily/core'
export const useTavily = () => {
const config = useConfigStore()
const tvly = tavily({
apiKey: config.config.webSearch.apiKey,
})
return tvly
}