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

推荐订阅源

G
Google Developers Blog
Google DeepMind News
Google DeepMind News
Hugging Face - Blog
Hugging Face - Blog
D
Docker
F
Fortinet All Blogs
博客园 - 三生石上(FineUI控件)
Project Zero
Project Zero
Engineering at Meta
Engineering at Meta
J
Java Code Geeks
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Simon Willison's Weblog
Simon Willison's Weblog
S
Security Affairs
NISL@THU
NISL@THU
T
Tor Project blog
A
About on SuperTechFans
宝玉的分享
宝玉的分享
腾讯CDC
S
Schneier on Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Privacy & Cybersecurity Law Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Stack Overflow Blog
Stack Overflow Blog
P
Privacy International News Feed
雷峰网
雷峰网
C
Cyber Attacks, Cyber Crime and Cyber Security
Vercel News
Vercel News
Cisco Talos Blog
Cisco Talos Blog
D
DataBreaches.Net
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
L
LINUX DO - 热门话题
Microsoft Security Blog
Microsoft Security Blog
Latest news
Latest news
C
Check Point Blog
有赞技术团队
有赞技术团队
T
The Exploit Database - CXSecurity.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
云风的 BLOG
云风的 BLOG
SecWiki News
SecWiki News
Application and Cybersecurity Blog
Application and Cybersecurity Blog
爱范儿
爱范儿
月光博客
月光博客
V
Vulnerabilities – Threatpost
T
Threat Research - Cisco Blogs
P
Palo Alto Networks Blog
T
The Blog of Author Tim Ferriss
C
Cisco Blogs
Webroot Blog
Webroot Blog
S
Security @ Cisco Blogs

for_the_zero的个人博客

WebTooys第4弹更新 —— AI知识图谱Oheya、连接选择器Selinkt、长图拼接、LessChat、生成终末地配方AI提示词 - for_the_zero的个人博客 ZapStartTab - 只是专注于打开网页的简陋新标签页 - for_the_zero的个人博客 将我的个人网站模板大改了一下 - for_the_zero的个人博客 小想法2——如何让AI拥有生命? - for_the_zero的个人博客 vAIbe - 用Vibe Coing做一个AI? - for_the_zero的个人博客 个人网站更新! - for_the_zero的个人博客 WebTooys第3.5弹更新 —— GPT/RSVP阅读器、抠图工具、QQ空间导出记录查看器、摄像头画面AI生成颜文字 - for_the_zero的个人博客 科技杂谈1:从系统到AI,从软件到互联网 - for_the_zero的个人博客 记录一下我的小想法 - for_the_zero的个人博客 教程:怎么在U盘上装一个便携版的MC? - for_the_zero的个人博客 整理一下域名 - for_the_zero的个人博客 WebTooys Quicktools 第三弹:AI记事本输入法、剪贴板图片保存、AI驱动的虚拟文章平台FakeNET…… - for_the_zero的个人博客 如何注册一个免费的.is-a.dev域名? - for_the_zero的个人博客 新的个人网站上线! - for_the_zero的个人博客 MapPinner: 在地图上留下自己旅行时走过之处的标记 - for_the_zero的个人博客 自制软件LMCanvas —— 让界面与模型交互 - for_the_zero的个人博客 又是英语演讲 - for_the_zero的个人博客 往我自己做的简约表格加了一点AI - for_the_zero的个人博客 Free-LLM-Collection - 一个分享关于免费的大模型API的地方 - for_the_zero的个人博客 Quicktools第2.1弹 - 文本展示工具、UP主动态查看工具 - for_the_zero的个人博客 Quicktools第二弹 - 按键转写、音频转颜色、简约风表格工具 - for_the_zero的个人博客 分享一下我最近为英语演讲写的演讲搞(整活) - for_the_zero的个人博客 CapsTools - 一个利用大写锁定键触发的工具箱 - for_the_zero的个人博客 第一批Quicktools小工具来啦 - for_the_zero的个人博客 相机算法对比:vivo vs Google - for_the_zero的个人博客 国产大模型对比! - for_the_zero的个人博客 一个提取手机apk的玩意 - for_the_zero的个人博客 发现bug,连甩两层锅 - for_the_zero的个人博客 一个手机硬件状态监控的玩意 - for_the_zero的个人博客 AlanBecker视频列表:关注视频更新动态! - for_the_zero的个人博客 一段时间前做了一个DNA打结的东西 - for_the_zero的个人博客 做了个叫PinCopy的玩意 - for_the_zero的个人博客 记一下自己写tttpro - for_the_zero的个人博客 在scratch实现简单纯画笔排版 - for_the_zero的个人博客 如何在scratch简单实现拼音输入法 - for_the_zero的个人博客 Blog Post - for_the_zero的个人博客 一种迷宫的介绍 - for_the_zero的个人博客 DearPyGui笔记 - for_the_zero的个人博客
asak - 一个适应速率限制的大模型api调用工具 - for_the_zero的个人博客
for_the_zero · 2025-05-31 · via for_the_zero的个人博客

asak,一个轻量级的小项目,是我对制作python和js库的一个小尝试

先挂链接:for-the-zero/asak: A LLM API Tool-API Smart Access Kit

既然README和 文档都写得很清楚了,那么我就写一下心路历程(?)吧

由于有一些不会的,也是找了一些ai帮助了一点点

文档

先写文档,再写js代码,再改文档,很神奇是不是

拼写

这个不是bug

只是把available拼写成了avaliable

(乐)

openai的js库

一开始没有找到什么文档,干脆直接问ai

结果这ai不知道拿的是什么版本的api糊弄我,搞得我在调用的时候搞了好几下

顺便说一下,js的生成器函数创建起来比py麻烦些哦

还有就是测试CDN导入的时候,发现openai库需要dangerouslyAllowBrowser才能搞,行啊(这就是1.0.1的由来)

Python

刚好动工的时候研学,于是打算用手机写

没找到合适的编辑器,只有一个差劲的凑活用

太难用了,缩进都得点两下,回车的时候只有结尾是冒号的时候才能缩进

就没用过这么难用的

回到家想了一想,懒得搞,把js喂给了ai

一行一行人工审核就搞定了

pypi

初出茅庐,不会上传

第一次呢,是pyproject.toml__init__.py同目录

上传完测试一下发现什么都没导入,打开tar包一看什么代码都没有,就是个空的

于是创建了一层目录重新上传,这就是1.0.1的由来(梅开二度

后来

审视了一下自己的史堆(太小了不能说是山)

一堆判断配置符不符合要求,拍拍头,说,直接在构造的时候检查配置不就完了吗

很快啊,搞定了

就这样,没什么东西想写了