You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: record model thoughts
Signed-off-by: Danny Kopping <danny@coder.com>
* fix: send model thoughts with tool usage recording
Signed-off-by: Danny Kopping <danny@coder.com>
* feat: capture responses reasoning
Signed-off-by: Danny Kopping <danny@coder.com>
* chore: refactor tests
Signed-off-by: Danny Kopping <danny@coder.com>
* chore: test multiple thoughts
Signed-off-by: Danny Kopping <danny@coder.com>
* chore: refactor tests
Signed-off-by: Danny Kopping <danny@coder.com>
* feat: capture commentary as model thoughts
Signed-off-by: Danny Kopping <danny@coder.com>
* chore: cleaning up /v1/messages impl
Signed-off-by: Danny Kopping <danny@coder.com>
* chore: update comments
Signed-off-by: Danny Kopping <danny@coder.com>
* chore: add tests for parallel tool calls
Signed-off-by: Danny Kopping <danny@coder.com>
* chore: capture source of thinking/reasoning
Signed-off-by: Danny Kopping <danny@coder.com>
* chore: break association between thoughts and tools
Signed-off-by: Danny Kopping <danny@coder.com>
* chore: expand trace testing
Signed-off-by: Danny Kopping <danny@coder.com>
* chore: refactor model thought assertions into common func
Signed-off-by: Danny Kopping <danny@coder.com>
---------
Signed-off-by: Danny Kopping <danny@coder.com>
data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":"The user wants me to read a file called \"foo\". Let me find and read it."}}
data: {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":"This is a classic philosophical question about medieval scholasticism. I'll give a thoughtful answer."}}
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" is a famous philosophical question often used to illustrate medieval"}}
44
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":" is a famous philosophical question often used to illustrate medieval"}}
36
45
37
46
event: content_block_delta
38
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" scholastic debates that seem pointless or ov"} }
47
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":" scholastic debates that seem pointless or ov"} }
39
48
40
49
event: content_block_delta
41
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"erly abstract. The question \"How many angels can dance on the head of"} }
50
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":"erly abstract. The question \"How many angels can dance on the head of"} }
42
51
43
52
event: content_block_delta
44
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" a pin?\" is typically cited as an example of us"} }
53
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":" a pin?\" is typically cited as an example of us"} }
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" constitutes \"dancing\" for a spiritual"} }
86
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":" constitutes \"dancing\" for a spiritual"} }
78
87
79
88
event: content_block_delta
80
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" entity\n- The size of both the"} }
89
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":" entity\n- The size of both the"} }
81
90
82
91
event: content_block_delta
83
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" pin and the angels\n\nIt's become a metaph"} }
92
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":" pin and the angels\n\nIt's become a metaph"} }
84
93
85
94
event: content_block_delta
86
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"or for overthinking trivial matters"} }
95
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":"or for overthinking trivial matters"} }
87
96
88
97
event: content_block_delta
89
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" or getting lost in theoretical discussions disconnected from practical reality."} }
98
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":" or getting lost in theoretical discussions disconnected from practical reality."} }
90
99
91
100
event: content_block_delta
92
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" Some use it to critique certain types of academic"} }
101
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":" Some use it to critique certain types of academic"} }
93
102
94
103
event: content_block_delta
95
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" or theological debate, while others defen"} }
104
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":" or theological debate, while others defen"} }
96
105
97
106
event: content_block_delta
98
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d the value of exploring fundamental questions about existence an"} }
107
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":"d the value of exploring fundamental questions about existence an"} }
99
108
100
109
event: content_block_delta
101
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"d metaphysics.\n\nSo while u"} }
110
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":"d metaphysics.\n\nSo while u"} }
102
111
103
112
event: content_block_delta
104
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"nanswerable literally, it serves as an interesting lens"} }
113
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":"nanswerable literally, it serves as an interesting lens"} }
105
114
106
115
event: content_block_delta
107
-
data: {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":" for discussing the nature of philosophical inquiry itself."} }
116
+
data: {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":" for discussing the nature of philosophical inquiry itself."} }
"thinking": "This is a classic philosophical question about medieval scholasticism. I'll give a thoughtful answer."
137
+
},
125
138
{
126
139
"type": "text",
127
140
"text": "This is a famous philosophical question, often called \"How many angels can dance on the head of a pin?\" It's typically used to represent pointless or overly abstract theological debates.\n\nThe question doesn't have a literal answer because:\n\n1. **Historical context**: It's often attributed to medieval scholastic philosophers, though there's little evidence they actually debated this exact question. It became a popular way to mock what some saw as useless academic arguments.\n\n2. **Philosophical purpose**: The question highlights the difficulty of discussing non-physical beings (angels) in physical terms (space on a pinhead).\n\n3. **Different interpretations**: \n - If angels are purely spiritual, they might not take up physical space at all\n - If they do occupy space, we'd need to know their \"size\"\n - The question might be asking about the nature of space, matter, and spirit\n\nSo the real answer is that it's not meant to be answered literally - it's a thought experiment about the limits of rational inquiry and the sometimes absurd directions theological speculation can take.\n\nWould you like to explore the philosophical implications behind this question, or were you thinking about it in a different context?"
0 commit comments