📌 📄 内容摘要:
0wFF (@Fengfeng10) 在 测试key的小工具w 中发帖
Continuing the discussion from OAI怎么还没破产??
package main
import (
"bufio"
"bytes"
"fmt"
"net/http"
"os"
"time"
)
func send(k string) bool {
client := &http.Client{
Timeout: 10 * time.Second,
}
b := []byte(`{"model":"gpt-4.1","input":"Hi","max_output_tokens":16}`)
req, err := http.NewRequest("POST", "https://api.openai.com/v1/responses", bytes.NewReader(b))
if err != nil {
fmt.Prin...
────────── 链接信息 ────────── 🔗 论坛链接: linux.do 📎 访问地址: https://linux.do/t/topic/1496618/1 ─────────────────────────────
📢 来源:LINUX DO