【求问】公益站cc的key,为什么没办法用到别的地方?求解答

2026-04-11 14:161阅读0评论SEO问题
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:
github.com

GitHub - DayuanJiang/next-ai-draw-io: A next.js web application that integrates AI...

A next.js web application that integrates AI capabilities with draw.io diagrams. This app allows you to create, modify, and enhance diagrams through natural language commands and AI-assisted visualization.

我在项目配置cc的key后,可以正常使用。切换到如上 github【https://next-ai-drawio.jiang.jp/】在这里配置同样的 key,请求无响应,有佬友知道怎么回事吗?注:本地部署也试了。
image915×296 31.8 KB

本地部署:
image881×1218 242 KB

在线也不行,配置如下:
image1032×1486 105 KB

网友解答:
--【壹】--:

加上/v1/messages试试
这个项目文档说endpoint,而不是baseurl

github.com/DayuanJiang/next-ai-draw-io

docs/ai-providers.md

main

# AI Provider Configuration This guide explains how to configure different AI model providers for next-ai-draw-io. ## Quick Start 1. Copy `.env.example` to `.env.local` 2. Set your API key for your chosen provider 3. Set `AI_MODEL` to your desired model 4. Run `npm run dev` ## Supported Providers ### Google Gemini ```bash GOOGLE_GENERATIVE_AI_API_KEY=your_api_key AI_MODEL=gemini-2.0-flash ``` 此文件已被截断。 显示原始文件


--【贰】--:

baseurl后加/v1,可以了,谢谢佬


--【叁】--:

这就是github一个开源的ai项目,我想着用claude的key 这意思是,没解决的办法吗


--【肆】--:

试试把cc的ua搞出来,改进去,套牌~~


--【伍】--:

佬,最后你的完整路径是怎么样的?我也在测试这个项目


--【陆】--:

cc有专门的ua,不过这啥啊


--【柒】--:

走openai Compatible呢?


--【捌】--:

+上 【v1】或者【v1/message】试试


--【玖】--:

感谢,可以了