mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-28 17:29:30 +00:00
make preserve thinking optional
This commit is contained in:
parent
12d61d197f
commit
f4875c5dc6
3 changed files with 22 additions and 8 deletions
|
|
@ -201,7 +201,9 @@ async def collect_multistep_trajectory(
|
|||
f"collect_multistep_trajectory: {len(conversation)} turns, temp={temperature}"
|
||||
)
|
||||
|
||||
async with server.managed_server(tokenizer=tokenizer) as managed:
|
||||
async with server.managed_server(
|
||||
tokenizer=tokenizer, preserve_think_blocks=True
|
||||
) as managed:
|
||||
for i, turn in enumerate(conversation):
|
||||
role = turn["Role"].strip().lower()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue