Tabbit
活动资源博客模型
Tabbit LogoTabbit

Tabbit — 为你工作的 AI 浏览器

主题资源

  • AI Browser Resources
  • Agentic Browser Resources
  • Browser Downloads and Install Guides
  • Browser Comparisons
  • AI Browser Alternatives
  • Browser Productivity Resources

热门指南

  • AI Browser
  • Agentic Browser Download
  • Best AI Browser 2026: Top 9 Tested & Ranked
  • AI Browser Download
  • Free AI Browser
  • Best AI Browser 2026
  • AI Browser Comparison 2026
  • AI Browser for Windows
  • AI Browser for Mac
  • Chrome Alternative 2026

活动

  • 别装了,你在《牛来》里早有原型
  • Tabbit 妙招大赛
  • KPOP SBTI 饭圈人格测试
  • Tabbit 校园共创者计划
  • fifi 的论文文献妙招精选
  • 用户问卷

关于

  • Tabbit 博客
  • 媒体报道
简体中文
简体中文English
提示词与工作流

GPT-5.6 Luna · prompt

Get started with OpenAI GPT-5.6 on Amazon Bedrock:推理、工具调用与缓存

AWS 文章把 Luna 定位为高吞吐、低延迟的分类、摘要和路由模型,并通过 Responses API 示例说明如何设置 reasoning effort、调用工具、把模型输出完整带回下一轮,以及使用 prompt cache key 和 cache breakpoint 缓存稳定前缀。

来源已核对;未实测GPT-5.6 Luna API-compatible client; confirm model ID, tools, reasoning settings and limits before execution.

前置条件与输入

  • API credentials
  • model ID
  • tool schema
  • test input
  • failure handling

摘要

AWS 文章把 Luna 定位为高吞吐、低延迟的分类、摘要和路由模型,并通过 Responses API 示例说明如何设置 reasoning effort、调用工具、把模型输出完整带回下一轮,以及使用 prompt cache key 和 cache breakpoint 缓存稳定前缀。

关键提示词与工程做法

  • 任务简单、数量大时从 none 或 low reasoning 开始;复杂多步任务再提升到 medium、high、xhigh 或 max。

  • 工具调用后,把模型上一轮的 response.output(包括 reasoning items)追加回下一轮输入。

  • 把稳定的系统指令、工具定义和参考资料放在 prompt 前部,把变化的用户问题放在后部。

  • 需要精确控制时使用显式缓存断点;不设置 prompt_cache_options 时使用隐式缓存。

  • 示例中的缓存前缀至少需要 1,024 token,缓存 key 应在相关请求之间保持一致。

可复用代码片段

response = client.responses.create(
    model="openai.gpt-5.6-luna",
    input="Classify these support tickets by urgency and route them to the right team.",
    reasoning={"effort": "low"},
    max_output_tokens=512,
    store=False,
)
print(response.output_text)

工具调用循环的关键结构:

input_list += response.output
for item in response.output:
    if item.type == "function_call":
        result = run_tool(item.arguments)
        input_list.append({
            "type": "function_call_output",
            "call_id": item.call_id,
            "output": json.dumps(result),
        })
final_response = client.responses.create(
    model="openai.gpt-5.6-luna",
    input=input_list,
    tools=tools,
)

原文阅读

本站仅展示 Tabbit 编辑摘要和必要节选;完整内容、上下文与最新版本请查看原始来源。

来源与日期

AWS Machine Learning Blog · 原文日期: 2026-07-24 · 编辑日期: 2026-09-20

阅读原始来源
变量检查

无必填变量

相关提示词

GPT-5.6 Luna API 模型参数与成本配置Apply Occam’s Razor:减少 Luna/Codex 过度设计的提示词Reddit Codex:解决 Luna 子代理兼容性的诊断与验证提示词Reddit Codex:Luna 子代理与 Sol 审查的多模型路由配置

相关测评

Agents on Rails:8 个模型、21 项原子任务GPT-5.6 Luna:Codex 用户认为它被低估了GPT-5.6 Luna:使用 48 小时后的体验GPT-5.6 Luna:Extra High 是我需要的主力模型

GPT-5.6 Luna

在 Tabbit 中使用 GPT-5.6 Luna

请在上方所列环境中运行本指南。下载不会自动传入模板,也不代表账户已开放该模型。