AGENT SKILL

openai-gpt6-production-lessons

Rules for calling gpt-6-astra and gpt-6.1-sol with the openai Python SDK 3.x so requests aren't rejected with 400 errors in production.

License 许可
Apache-2.0
所属仓库
getedgehq/skills
最近更新
2026-11-12
Stars
★ 5
Forks
0

01 前言 Front Matter

name
openai-gpt6-production-lessons
description
Rules for calling gpt-6-astra and gpt-6.1-sol with the openai Python SDK 3.x so requests aren't rejected with 400 errors in production.

02 资源文件 2

03 SKILL.md 正文

OpenAI gpt-6-astra / gpt-6.1-sol: production lessons

These rules come from OpenAI's latest-model guide (https://developers.openai.com/api/docs/guides/latest-model). We checked them against agent runs on a test API that returns the 400 errors below on /v1/responses and /v1/chat/completions. OpenAI has not published the GPT-6 error wording, so the exact text you see may differ. Most rejections said "with this model" without naming it, so apply every rule to both gpt-6-astra and gpt-6.1-sol.

1. Never send sampling parameters

  • Do not pass temperature. This was the most common failure, on both endpoints: Unsupported parameter: 'temperature' is not supported with this model.
  • Do not pass top_p. It fails the same way.
  • Remove these parameters entirely. Do not set them to a "default" value such as 1.0. The rejection is for the parameter itself.
  • Watch for wrappers, config dicts, and **kwargs that add these parameters without you noticing.

2. Reasoning effort: only use supported values

  • Supported values are exactly low, medium, high, xhigh, and max.
  • none and minimal are rejected on both endpoints.
  • The parameter shape depends on the endpoint:
    • Responses API: reasoning={"effort": "low"}
    • Chat Completions: reasoning_effort="low"
  • If your code tries one value and falls back to another, use only values from the supported list. Runs that fell back from none to minimal failed both times.

3. Function tools with gpt-6-astra: use the Responses API

  • On /v1/chat/completions, gpt-6-astra rejects function tools combined with reasoning_effort: Function tools with reasoning_effort are not supported for gpt-6-astra in /v1/chat/completions.
  • When you need tools, call client.responses.create(...) with tools=[...].
  • Do not follow the error's other suggestion (reasoning_effort='none'). none is rejected as a reasoning effort value (see rule 2).

4. Pre-flight checklist

Before you ship, check every request against this list:

  • [ ] No temperature and no top_p anywhere in the request.
  • [ ] Reasoning effort, if set, is one of low, medium, high, xhigh, or max.
  • [ ] Reasoning effort uses the right shape for the endpoint (rule 2).
  • [ ] Any request with tools for gpt-6-astra goes to /v1/responses.
  • [ ] Fallback and retry paths follow the same rules. Several runs failed only on their second or third attempt.

5. A missing 400 error does not mean the run passed

Some runs failed with no API error recorded. Getting past request validation is necessary but not sufficient. Also check that the task's actual output is correct.

04 同仓库更多 Skills

getedgehq
getedgehq/skills

zero-downtime-cloud-move

Runbook for moving a live app from one cloud to another (Google Cloud to AWS, AWS to Google Cloud, a PaaS to your own account, or one storage provider to another) without downtime. The agent inventories what is really running, builds the new stack next to the old one, keeps a one-line rollback for every phase, proves the new stack with real workloads before any traffic moves, cuts over with a checklist, watches a fixed window after the switch, copies data with an idempotent job whose second pass must report 0 left, and deletes the old cloud last. Use when someone asks to migrate, move or replatform a production app, switch cloud providers, move a backend, database files or object storage, plan a DNS cutover, or decommission an old cloud account.

★ 5
getedgehq
getedgehq/skills

zayats-ceo-branding

Build an evidence-based CEO positioning paper, Personal Branding Roadmap, and editorial workflow using Marina Zayats's public method. Use for executive branding, LinkedIn ghostwriting briefs, profile strategy, and recurring CEO-approved content planning.

★ 5
getedgehq
getedgehq/skills

yc-app-roast

YC App Roast: roast a YC or a16z Speedrun application. Use when a founder wants their YC or Speedrun answers scored, asks "what would a YC partner think", wants the weak answers found or rewritten, or wants their draft checked before they submit. Scores every answer 0-10 against public advice from YC and Speedrun partners, names the top issue with the exact words that cost points, and writes a rewrite from the founder's own facts. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.

★ 5
getedgehq
getedgehq/skills

yc-app-review

YC App Review: get a YC or a16z Speedrun application reviewed by people you trust. Use when a founder wants friends, mentors or alumni to review their YC or Speedrun application, or asks to share their draft for feedback. Builds a shareable review page (one HTML file, application-portal look) where reviewers leave notes per question and press "Send my notes" to send them back as text, then parses the notes into proposed rewrites. Optional tracked private links per reviewer. Works for YC and a16z Speedrun. Not affiliated with Y Combinator or a16z.

★ 5
getedgehq
getedgehq/skills

x-growth-playbook

X Growth Playbook. Analyse a person's own X (Twitter) posts and tell them what to post next, with the numbers behind every claim. Compares quote posts vs originals, links vs no links, short vs long, time of day in their timezone, media vs text and the topics they name, reports medians with n, then writes a 10-step plan and the next 7 posts in their voice. Use when the user says "analyse my X posts", "what works on my Twitter", "how do I grow on X", "what should I post next on X", "audit my X account", or shares an X data archive, X API export or a list of their posts. Runs on the user's computer.

★ 5
getedgehq
getedgehq/skills

workplan

Create, update, or close work plans for multi-step tasks. Use when starting refactors, bug lists, feature work, migrations, or any task with 2+ steps. Also use after auto-compaction to re-orient. Triggers: "workplan", "work plan", "create a plan", "what's the plan", "where was I", or when Claude detects a multi-step task that needs tracking.

★ 5