MartialBE / one-hub

OpenAI 接口管理 & 分发系统,改自songquanpeng/one-api。支持更多模型,加入统计页面,完善非openai模型的函数调用。
https://one-hub.xiao5.info/
Apache License 2.0
1.13k stars 229 forks source link

vertexai报channel not implemented #304

Closed qingfengmy closed 3 months ago

qingfengmy commented 3 months ago

例行检查

问题描述 我vertexai模型,提示channel not implemented 复现步骤 70872e15b49dbad051c53441b150d860

165e4d2d838ebd1661267fb3a2ffc72b

报错 headers: { 'content-length': '139', 'content-type': 'application/json; charset=utf-8', date: 'Wed, 17 Jul 2024 11:34:33 GMT', 'x-oneapi-request-id': '20240717193433900409367YHiew5wR' }, request_id: undefined, error: { code: 'channel_error', message: 'channel not implemented (request id: 20240717193433900409367YHiew5wR)', type: 'one_hub_error' }, code: 'channel_error', param: undefined, type: 'one_hub_error' } 预期结果 希望正常使用

相关截图 如果没有的话,请删除此节。

MartialBE commented 3 months ago

用ChatCompletions

qingfengmy commented 3 months ago

用ChatCompletions