摘要: import 'dotenv/config'; import OpenAI from 'openai'; const client = new OpenAI({ apiKey: process.env.OPENAI_API_KEY, baseURL: process.env.OPENAI_API_B 阅读全文
posted @ 2024-10-27 23:14 卓能文 阅读(4) 评论(0) 推荐(0) 编辑
摘要: nuitka # test.py def add(x: int, y: int) -> int: return x + y print(add(2, 3)) nuitka test.py --onefile --clang --static-libpython=yes # justfile buil 阅读全文
posted @ 2024-10-27 10:57 卓能文 阅读(9) 评论(0) 推荐(0) 编辑