Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InferTags ¶
InferTags uses a heuristic to infer the tags that surround thinking traces: We look for a range node that iterates over "Messages" and then look for a reference to "Thinking" like `{{.Thinking}}`. We then go up to the nearest ListNode and take the first and last TextNodes as the opening and closing tags.
Types ¶
Click to show internal directories.
Click to hide internal directories.