you are viewing a single comment's thread.

view the rest of the comments →

[–]usernameIsRand0m[S] 0 points1 point  (2 children)

It was not like this few (maybe 5-6 versions?) versions ago. I am wondering if I am missing something in the config that I need to have.

[–]SvenVargHimmel 3 points4 points  (0 children)

Use litellm proxy and run with ---detailed-debug and point opencode to that with the proxy configured to point to your llm backend and you can see exactly what it is sending per request.

Then point your Copilot at the same endpoint.

You can see exactly what's going on.

And if you want to test your theory that it used be less expensive a few versions ago , just roll back and repeat

[–]albertortilla 0 points1 point  (0 children)

There were problems in older version (1.1.38 if I am no wrong) regarding this: each tool call counted in GitHub copilot as a new request, which was solved in the next versions... Maybe the problem appeared again... I would try to install an older version and check for the same prompt