惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Vercel News
Vercel News
B
Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
GbyAI
GbyAI
IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
博客园_首页
C
Check Point Blog
博客园 - 【当耐特】
美团技术团队
Last Week in AI
Last Week in AI
A
About on SuperTechFans
雷峰网
雷峰网
MongoDB | Blog
MongoDB | Blog
Microsoft Azure Blog
Microsoft Azure Blog
M
MIT News - Artificial intelligence
Martin Fowler
Martin Fowler
J
Java Code Geeks
B
Blog RSS Feed
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
Google Developers Blog
F
Fortinet All Blogs

LINUX DO - 最新话题

谷歌云盘下载700g数据集,求方法 OpenAI推出了100美元的Pro订阅后,plus的Codex 5小时限额大幅缩水 之前买的super grok居然还没掉 关于CPA认证文件周限 佬们,默认CDK的要求是什么等级啊? 最新版本的微信群聊机器人方案 有没有人知道如何free号没有封,那么是否可以循环使用,因为我看主要是周限 L站改版了?吓我一跳,我以为我浏览器崩了 淘宝这种宽带可信吗,500兆移动宽带月费8元到2099年 docker内部应用访问宿主机mysql和redis时被拒绝connection refuse Erp全栈想转行做Ai有什么推荐的吗 boost有bug 佬们,有没有靠谱点的 Plus 购买渠道 大妈,狗妈用的 lg 服务有源头开源项目吗? 有人有能过验证码打码的嘛 上次帖里好像发过通过大模型来打码的 gpt plus 封号似乎也太快了点,一天就给封号了 按流量/token收费的国产官方AI推荐 我算是知道了为什么Oracle总是ABC了 佬友们帮我分析一下 ChatGPT Team账号只有一个人使用和4个席位邀请满了使用的总额度是一样的吗? gpt-free 10个带rt CPA反代claude是默认1m吗? 我终于敢说我做出来windows上tmux的替代了,目标windows/全平台最强的终端Ai编程工具 claude pro升级max,除了原来的$20,好像还能再领一次$100 关于AI agent的知识框架 独乐乐不如众乐乐,分享一下我的的AI对话程序 佬们自建网站支付问题是怎么解决的 怎么能让gpt模仿claude风格输出 codex free已经死了,下一个会是plus或者team吗 请问chatgpt pro里的fast模式,速度快了,降智吗
litellm 支持responses api请求转换至后端 /chat/completions
donnad · 2026-05-02 · via LINUX DO - 最新话题
之前试过CLIProxyAPI 接入某云平台glm5给codex用。今天没事看了看litellm,发现v1.83.14支持了,就测试了下。除了remote compact有问题,其他的使用还算正常。 # litellm_config.yaml model_list: - model_name: GLM-5.1 litellm_params: model: openai/chat_completions/GLM-5.1 api_base: http://172.17.0.1:17800/v1 api_key: "xxx" docker run -d -v $(pwd)/litellm_config.yaml:/app/config.yaml -p 4000:4000 ghcr.io/berriai/litellm:v1.83.14-stable --config /app/config.yaml curl http://localhost:4000/v1/responses -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d '{ "model": "GLM-5.1", "input": "Hello!" }' {"id":"resp_bGl0ZWxsbTpjdXN0b21fbGxtX3Byb3ZpZGVyOm9wZW5haTttb2RlbF9pZDo5YjU3ODVjZWQ1ZjAyMDQ4YWVkOGUwNjQwYTUyZmYzMGRhODgyMDM4Y2U4Y2RiYjc3Y2QxNGM1ZTQzMzQwODY5O3Jlc3BvbnNlX2lkOmNoYXRjbXBsLWY3NTY0MDBmLTdkOWUtOTFkYS04MTEzLTE5ODBhMDQ0NWFiYQ==","created_at":1777695435,"error":null,"incomplete_details":null,"instructions":null,"metadata":{},"model":"GLM-5.1","object":"response","output":[{"type":"reasoning","id":"rs_-499540863581864856","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Let me consider how to respond to this greeting thoughtfully.\n\nThe user has started with a simple \"Hello!\" - this is a basic greeting that calls for a warm, professional response. I should acknowledge their greeting and create an inviting atmosphere for further conversation.\n\nI need to think about what makes an effective greeting response:\n- It should be welcoming and friendly\n- It should establish my role and capabilities\n- It should encourage further interaction\n- It should be concise but informative\n\nLooking at my purpose, I'm designed to be a helpful AI assistant that can engage in meaningful conversations and assist with various tasks. My response should reflect this while remaining approachable.\n\nThe key elements to include:\n1. A friendly return greeting\n2. A brief introduction of myself\n3. An open invitation for them to share what they need help with\n\nThis sets up a good foundation for whatever topic they might want to discuss next, whether it's questions, creative tasks, problem-solving, or general conversation.\n\nI'll craft a response that's warm and professional, making it easy for them to take the next step in our dialogue.","annotations":[]}],"phase":null},{"type":"message","id":"chatcmpl-f756400f-7d9e-91da-8113-1980a0445aba","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hello! I'm GLM, trained by Z.ai. How can I assist you today? Whether you have questions, need information, or just want to chat, I'm here to help.","annotations":[]}],"phase":null}],"parallel_tool_calls":false,"temperature":0.0,"tool_choice":"auto","tools":[],"top_p":null,"max_output_tokens":null,"previous_response_id":null,"reasoning":null,"status":"completed","text":{},"truncation":null,"usage":{"input_tokens":7,"input_tokens_details":{"audio_tokens":null,"cached_tokens":0,"text_tokens":null},"output_tokens":264,"output_tokens_details":{"reasoning_tokens":223,"text_tokens":null},"total_tokens":271,"cost":null},"user":null,"store":null} 仓库链接 Release v1.83.14-stable · BerriAI/litellm 1 个帖子 - 1 位参与者 阅读完整话题