by wavemode · 9mo ago · 0 comments
Like which do you think is more token-efficient?
1)
<tool-call write_code "my_function(my_variable)"/>
2) <tool-call available_functions/>
resp:
<option> my_function </option>
<option> your_function </option>
<option> some_other_function </option>
<option> kernel_function1 </option>
<option> kernel_function2 </option>
<option> imported_function1 </option>
<option> imported_function2 </option>
<option> ... </option>
<tool-call write_function_call "my_function"/>
resp:
<option> my_variable </option>
<option> other_variable_of_same_type </option>
<tool-call write_variable "my_variable"/>LLMs are notoriously bad at counting.
Not much different from what agents already do today inside of their harnesses, just without the part where they have to read entire files to find the definition of one thing.
So far enabling LSP in Claude only added messages like "this is old diagnostic before my edit".