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. Kaip „Codex“ įjungti 1 mln. žetonų konteksto langą, skirtą „GPT-5.6 Sol“

Kaip „Codex“ įjungti 1 mln. žetonų konteksto langą, skirtą „GPT-5.6 Sol“

Scheduled Pinned Locked Moved Blogs
konteksto langagpt-5.6
1 Posts 1 Posters 57 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>Štai kaip „Codex“ įjungti 1 mln. žetonų konteksto langą, skirtą „GPT-5.6 Sol“. </p><p>Nors „Codex“ konteksto ribą suderinome taip, kad ji būtų optimali našumo ir kainos požiūriu, tai yra dažnas prašymas, todėl jį čia dokumentuojame.</p><p>Didesnis konteksto langas leidžia „Codex“ išlaikyti daugiau kodo, įrankių išvesties ir pokalbio istorijos prieš apibendrinant senesnę medžiagą. Jums reikia modelio, kuris tai palaiko. Pavyzdžiui, „GPT-5.6 Sol“ turi dokumentuotą 1 050 000 žetonų langą. </p><p>Atidarykite ~/.codex/config.toml ir aukščiausiame lygyje, prieš bet kokias </p><p></p><p>[section] antraštes, pridėkite arba atnaujinkite šiuos nustatymus:</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>Pirmasis nustatymas parenka modelį. Antrasis nurodo „Codex“ naudoti vieno milijono žetonų konteksto biudžetą. Trečiasis pradeda automatinį istorijos glaudinimą ties maždaug 900 000 žetonų riba, palikdamas šiek tiek rezervo. Išsaugoję iš naujo paleiskite „Codex“ klientą ir pradėkite naują sesiją. </p><p>Norėdami išbandyti konfigūraciją vienai CLI sesijai nekeisdami numatytųjų nustatymų:</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>Smagiai išbandykite, bet taip pat žinokite, kad numatytąją reikšmę kruopščiai suderinome!</p><p></p><p>Nuo 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