Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Blogs
  3. Cara mendayakan tetingkap konteks 1 juta token dalam Codex untuk GPT-5.6 Sol.

Cara mendayakan tetingkap konteks 1 juta token dalam Codex untuk GPT-5.6 Sol.

Scheduled Pinned Locked Moved Blogs
tetingkap kontegpt-5.6
1 Posts 1 Posters 45 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Online
    A Online
    admin
    wrote on last edited by
    #1

    <p>Berikut ialah cara mendayakan tetingkap konteks 1 juta token dalam Codex untuk GPT-5.6 Sol. </p><p>Walaupun kami telah melaraskan had konteks dalam Codex supaya dioptimumkan dari segi prestasi dan kos, perkara ini sering diminta, jadi kami mendokumentasikannya di sini.</p><p>Tetingkap konteks yang lebih besar membolehkan Codex mengekalkan lebih banyak kod, output alat dan sejarah perbualan sebelum meringkaskan bahan yang lebih lama. Anda memerlukan model yang menyokongnya. Sebagai contoh, GPT-5.6 Sol mempunyai tetingkap 1,050,000 token yang didokumenkan. </p><p>Buka ~/.codex/config.toml dan tambah atau kemas kini tetapan ini pada tahap teratas, sebelum sebarang pengepala </p><p></p><p>[section]:</p><p></p><p>model = "gpt-5.6-sol"</p><p>model_context_window = 1000000</p><p>model_auto_compact_token_limit = 900000</p><p></p><p></p><p>Tetapan pertama memilih model. Tetapan kedua memberitahu Codex untuk menggunakan bajet konteks sebanyak satu juta token. Tetapan ketiga memulakan pemadatan sejarah automatik sekitar 900,000 token, dengan menyediakan sedikit ruang tambahan. Mulakan semula klien Codex dan mulakan sesi baharu selepas menyimpan perubahan. </p><p>Untuk mencuba konfigurasi ini bagi satu sesi CLI tanpa mengubah tetapan lalai anda:</p><p></p><p></p><p>codex -m gpt-5.6-sol \</p><p> -c model_context_window=1000000 \</p><p> -c model_auto_compact_token_limit=900000</p><p></p><p></p><p>Selamat mencuba, tetapi ketahui juga bahawa kami telah melaraskan tetapan lalai ini dengan teliti!</p><p></p><p>Daripada Tibo: <a target="_blank" rel="noopener noreferrer nofollow" href="https://x.com/thsottiaux/status/2089082893804896524">https://x.com/thsottiaux/status/2089082893804896524</a></p><p></p>

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    Powered by NodeBB Contributors
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups