Kinta肥喵喵喵
Kinta肥喵喵喵
好的感谢,现在使用的就是注入的方式
> What if we do not have a front matter in the content? Here we are
@JoeyC-Dev Have a check on new code XD
> As in #356, currently new feature will not be merged. So pending on repo owner when repo owner is back. I see, it's not a big problem, it's just...
补充:根据[Cloudflare官方](https://developers.cloudflare.com/ai-gateway/providers/workersai/),AI Gateway Endpoint为新端点,应该迁移至新端点 考虑到兼容性问题,推荐的解决方案是将原有的`Cloudflare`渠道更名为`Workers AI`,并在设置中新增一个选填的`gateway_id`参数,如果填写则请求: `https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/workers-ai/{model_id}` 否则请求旧Endpoint: `https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/{model_id}` 另新增一个新的`Cloudflare AI Gateway`渠道,从新Endpoint发出请求,此渠道`gateway_id`为必填参数 旧的`Workers AI`渠道专注于Cloudflare Workers AI 上的 Serverless Inference 模型,而新的`Cloudflare AI Gateway`则可以通过 AI Gateway 反代调用所有支持的模型和供应商
@arvinxx 催一催这个PR,佬可以修一下吗