更新前端静态网页获取方式,放弃使用后端获取api

This commit is contained in:
2025-09-09 10:47:51 +08:00
parent 6889ca37e5
commit 44a4f1bae1
25558 changed files with 2463152 additions and 153 deletions

View File

@@ -0,0 +1,12 @@
1.写一个静态网页来调用github model 来完成应用功能
2.网页清新风格颜色随意app风格适配手机端和电脑端优先优化手机端用户体验
3.默认github的调用密钥是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
4.默认调用AI模型为 "openai/gpt-4o-mini"
5.把jscsshtml分开储存每个功能分每个模块避免单个文件过大问题
6.默认github ai调用模型地址是'https://models.github.ai/inference/chat/completions'
比如这样:
// GitHub API 配置
const GITHUB_TOKEN = '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';
const endpoint = 'https://models.github.ai/inference/chat/completions';
const model = 'deepseek/DeepSeek-V3-0324';