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
data: {"choices":[{"index":0,"delta":{"content":null,"role":"assistant","reasoning_text":"**Discovering Update Scope**\n\nI'm currently trying to ascertain the extent of the requested update. I need to locate `quotes.lua` within the repository and understand its structure before implementing any modifications. The user's vague instructions necessitate a deeper dive into the file's content to determine the precise nature of the update.\n\n\n"}}],"created":1763682744,"id":"takfaZb8F-DrlOoPh4G-2AU","usage":{"completion_tokens":0,"prompt_tokens":0,"prompt_tokens_details":{"cached_tokens":0},"total_tokens":0,"reasoning_tokens":0},"model":"gemini-3-pro-preview"}
2
+
data: {"choices":[{"index":0,"delta":{"content":null,"role":"assistant","reasoning_text":"**Commencing File Search**\n\nI've initiated the file search. My current focus is solely on locating `quotes.lua` within the repository. Once found, I'll analyze its structure and content. This initial step is critical to comprehend the file's current state and inform my subsequent actions.\n\n\n"}}],"created":1763682744,"id":"takfaZb8F-DrlOoPh4G-2AU","usage":{"completion_tokens":0,"prompt_tokens":0,"prompt_tokens_details":{"cached_tokens":0},"total_tokens":0,"reasoning_tokens":0},"model":"gemini-3-pro-preview"}
3
+
data: {"choices":[{"index":0,"delta":{"content":"I will search for the `quotes.lua` file to locate it within the repository.\n","role":"assistant"}}],"created":1763682744,"id":"takfaZb8F-DrlOoPh4G-2AU","usage":{"completion_tokens":0,"prompt_tokens":0,"prompt_tokens_details":{"cached_tokens":0},"total_tokens":0,"reasoning_tokens":0},"model":"gemini-3-pro-preview"}
T["Copilot adapter"]["Streaming"]["can send reasoning opaque back in messages"] =function()
287
+
localinput= {
288
+
{
289
+
content="Search for quotes.lua",
290
+
role="user",
291
+
},
292
+
{
293
+
content="LLM's response here",
294
+
reasoning= {
295
+
content="Some reasoning here",
296
+
opaque="SzZZSfDxyWB",
297
+
},
298
+
role="llm",
299
+
},
300
+
{
301
+
role="llm",
302
+
tools= {
303
+
calls= {
304
+
{
305
+
_index=0,
306
+
["function"] = {
307
+
arguments='{"dryRun":false,"edits":[{"newText":" \\"The only limit to our realization of tomorrow will be our doubts of today. - Franklin D. Roosevelt\\",\\n \\"Talk is cheap. Show me the code. - Linus Torvalds\\",\\n }","oldText":" \\"The only limit to our realization of tomorrow will be our doubts of today. - Franklin D. Roosevelt\\",\\n }","replaceAll":false}],"explanation":"Adding a new quote by Linus Torvalds to the end of the list in quotes.lua.","filepath":"quotes.lua","mode":"append"}',
308
+
name="insert_edit_into_file",
309
+
},
310
+
id="call_MHxYMWV1QmRVTng0Znd2b0tyM0Y",
311
+
type="function",
312
+
},
313
+
},
314
+
},
315
+
},
316
+
}
317
+
318
+
localexpected= {
319
+
{
320
+
content="Search for quotes.lua",
321
+
role="user",
322
+
},
323
+
{
324
+
content="LLM's response here",
325
+
role="llm",
326
+
reasoning_opaque="SzZZSfDxyWB",
327
+
reasoning_text="Some reasoning here",
328
+
tool_calls= {
329
+
{
330
+
["function"] = {
331
+
arguments='{"dryRun":false,"edits":[{"newText":" \\"The only limit to our realization of tomorrow will be our doubts of today. - Franklin D. Roosevelt\\",\\n \\"Talk is cheap. Show me the code. - Linus Torvalds\\",\\n }","oldText":" \\"The only limit to our realization of tomorrow will be our doubts of today. - Franklin D. Roosevelt\\",\\n }","replaceAll":false}],"explanation":"Adding a new quote by Linus Torvalds to the end of the list in quotes.lua.","filepath":"quotes.lua","mode":"append"}',
0 commit comments