Revised Python and JavaScript code samples in both English and Chinese READMEs to use updated OpenAI, Claude (formerly Anthropic), and Gemini API interfaces. Renamed references from 'Anthropic' to 'Claude' throughout documentation and config comments for clarity. Also updated tsconfig.json formatting for consistency.
27 lines
445 B
JSON
27 lines
445 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "node",
|
|
"noEmit": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"target": "ES2022",
|
|
"types": [
|
|
"@cloudflare/workers-types",
|
|
"vitest/globals"
|
|
]
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"coverage"
|
|
],
|
|
"include": [
|
|
"src/**/*",
|
|
"test/**/*"
|
|
]
|
|
} |