• Devon Rifkin's avatar
    strip out thinking tags in message history for qwen3 & r1 (#10490) · ad3c7c9b
    Devon Rifkin authored
    * strip out thinking tags in message history for qwen3 & r1
    
    This is in advance of "proper" support where we'll make reasoning
    configurable and we'll parse out thinking/reasoning tags and provide
    them to the caller. These models expect there to be no thinking tags in
    the message history, so this should improve quality
    
    * parse model names instead of hacky prefix check
    ad3c7c9b
routes.go 41.8 KB