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. Cum să activezi o fereastră de context de 1M de tokenuri în Codex pentru GPT-5.6 Sol

Cum să activezi o fereastră de context de 1M de tokenuri în Codex pentru GPT-5.6 Sol

Scheduled Pinned Locked Moved Blogs
fereastră de cogpt-5.6
1 Posts 1 Posters 72 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>Iată cum activezi o fereastră de context de 1M de tokenuri în Codex pentru GPT-5.6 Sol. </p><p>Deși am ajustat limita de context din Codex astfel încât să fie configurată optim din punctul de vedere al performanței și costului, aceasta este o solicitare frecventă, așa că este documentată aici.</p><p>O fereastră de context mai mare permite Codex să păstreze mai mult cod, mai multe rezultate ale instrumentelor și mai mult istoric al conversației înainte de a rezuma materialul mai vechi. Ai nevoie de un model care o acceptă. GPT-5.6 Sol, de exemplu, are o fereastră documentată de 1.050.000 de tokenuri. </p><p>Deschide ~/.codex/config.toml și adaugă sau actualizează aceste setări la nivelul de sus, înaintea oricăror </p><p></p><p>antete [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>Prima setare selectează modelul. A doua îi indică lui Codex să folosească un buget de context de un milion de tokenuri. A treia pornește compactarea automată a istoricului în jurul valorii de 900.000 de tokenuri, lăsând o anumită marjă. Repornește clientul Codex și începe o sesiune nouă după salvare. </p><p>Pentru a încerca configurația într-o singură sesiune CLI, fără să îți modifici valorile implicite:</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>Distracție plăcută, dar reține și că am ajustat cu grijă setarea implicită!</p><p></p><p>De la 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