mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 15:54:13 +01:00
feat: integrate new AI tools and enhance API functionality
- Added '@nuxtjs/mdc' module to nuxt.config.ts for improved UI components. - Configured MDC settings to disable anchor links for headings. - Updated API proxy settings to include '/api/uses' and a general '/api/' endpoint. - Introduced new dependencies for AI SDKs and tools in package.json. - Created a new chat API endpoint to handle AI interactions with various tools. - Implemented utility functions for activity tracking, resource reading, resume retrieval, statistics, status monitoring, and categorized tool usage. - Updated social links in types/index.ts to redirect through a custom domain. - Updated worker configuration to include AI binding for Cloudflare.
This commit is contained in:
3
worker-configuration.d.ts
vendored
3
worker-configuration.d.ts
vendored
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable */
|
||||
// Generated by Wrangler by running `wrangler types` (hash: 9ebceff030e512b05e46edbb174bea44)
|
||||
// Generated by Wrangler by running `wrangler types` (hash: 7333ef017a5016b51354dce96a893062)
|
||||
// Runtime types generated with workerd@1.20251217.0 2025-12-13
|
||||
declare namespace Cloudflare {
|
||||
interface Env {
|
||||
@@ -9,6 +9,7 @@ declare namespace Cloudflare {
|
||||
STUDIO_GITHUB_CLIENT_ID: string;
|
||||
STUDIO_GITHUB_CLIENT_SECRET: string;
|
||||
DB: D1Database;
|
||||
AI: Ai;
|
||||
}
|
||||
}
|
||||
interface Env extends Cloudflare.Env {}
|
||||
|
||||
Reference in New Issue
Block a user