This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface ParsedToken { | |
token: string; | |
isThinking: boolean; | |
} | |
/** | |
* Tracks partial data across parse calls to handle incomplete <think> markers. | |
*/ | |
export class ThinkingTokenSeparator { | |
private buffer = ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Xunit; | |
using System; | |
public class tester{ | |
[Fact] | |
public void h(){ | |
string.ab | |
Console.WriteLine("testing"); | |
} | |
} |