logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Spring AI调用sglang模型返回HTTP 400分析处理

request中的version追踪后发现是空值且无法定制,于是尝试修改client.version。使用wireshark捕包对比Spring AI发出的请求和postman请求差异,发现Spring AI的请求多了请求头。,postman加上此请求头后也报了同样的错误,猜测是公司部署的sglang不支持分块传输。,但调用公网模型没问题,使用postman调用内网模型也没问题。,看名字应该是发送

#spring#人工智能
linux下离线安装docker

Docker 官网离线安装文档。

文章图片
#linux#docker
linux搭建泰拉瑞亚(Terraria)服务器

系统环境腾讯云CentOS 8一、准备创建目录mkdir /opt/terrariamkdir /opt/terraria{bin,config,downloads,Worlds}下载安装包cd /opt/terraria/downloadswget https://terraria.org/api/download/pc-dedicated-server/terraria-server-1432

#linux#centos
前端页面跳转的几种方法

一、onclick跳转1. 设置window的location.href属性<span onclick="location='www.csdn.net'">点击在当前页打开csdn</span><span onclick="window.location.href='www.csdn.net'">点击在当前页打开csdn</span>2. 调用win

#javascript#html
到底了