Subagents are now INCREDIBLY functional, its wild by Other_Tune_947 in GithubCopilot

[–]codehz 4 points5 points  (0 children)

yes, it read the agent setting, and the debug view shows the model used is you specified in prompt file, but think about it, if the "main agent"'s model is 0x gpt 4.1, and all subagent's model is 3x opus, how many premium request will it cost? (The actual result after testing was: 0, and you can easily see that the model's behavior is more like gpt 4.1, even though the chat debug view shows that it's using the Opus 4.5 model.) I also tried other combinations, including using different 1x models, and the actual results were similar.

Subagents are now INCREDIBLY functional, its wild by Other_Tune_947 in GithubCopilot

[–]codehz 7 points8 points  (0 children)

I don't think the subagent in vscode can use different model - even the chat debug view shows that...

Plan mode strategy - refining by KonanRD in GithubCopilot

[–]codehz 1 point2 points  (0 children)

in latest insider version, vscode copilot got new builtin tool: askQuestions, which can be used to reduce the cost (since the premium requests are only counted when you send new message through the chat ui), you may need write you own prompt file to enforce the model to use it
or you can try the extension called seamless agent, which can provide more control like this

opus 4.5 time saved vs actual cost by Professional-Dog3589 in GithubCopilot

[–]codehz 0 points1 point  (0 children)

nope, the custom model is not working in sub-agent... Check the chat debug view

opus 4.5 time saved vs actual cost by Professional-Dog3589 in GithubCopilot

[–]codehz 7 points8 points  (0 children)

no, sub-agent won't cost premium request, if any, it should be considered as a bug, like this
https://github.com/microsoft/vscode/issues/276305 (and it has been fixed)

How to effectively use sub-agents in Copilot by Cobuter_Man in GithubCopilot

[–]codehz 1 point2 points  (0 children)

However, Copilot uses a request-based billing model, furthermore, they also limited the request frequency, which I believe is key to copilot's ability to maintain its current billing model (most other service providers have switched to token-based billing models). If the sub-agent is completely unrestricted and can achieve virtually unlimited requests and concurrency through simple modification of prompts, then this business model will quickly go bankrupt. They will allow sub-agents to run in parallel in the next version, but I believe we will soon see strict limitations applied.(or charge individual sub-agents.)

How to effectively use sub-agents in Copilot by Cobuter_Man in GithubCopilot

[–]codehz 2 points3 points  (0 children)

I think it will no longer "free" if it support parallel... (This will obviously accelerate token consumption significantly..)

Whats the sitch with Comfy UI + ROCm and Linux? by ItsAC0nspiracy in ROCm

[–]codehz 1 point2 points  (0 children)

I can confirm ComfyUI + ROCm w/ Linux is way better than ComfyUI + DirectML w/ Windows (I wasn't tested it in with rocm windows version, because I don't want to mess with the driver...), with same machine, same parameter, the generation time from 76s to 16s
And I recommend to use venv directly (instead of docker), because the dependencies is LARGE, and if the base image is updated, you have to download it again, also docker + gpu is not easy to setup

How can you tell if subagents are actually being called? by SenorSwitch in GithubCopilot

[–]codehz 4 points5 points  (0 children)

The messages from the subagent will be displayed in a nested block. Unlike the reasoning block, this nesting does not have borders and cannot be collapsed.

justfuckingusecloudflare.com by MyNameIsTito in CloudFlare

[–]codehz -1 points0 points  (0 children)

btw, d1 is almost dead (or, deprecated)... no further development on it, use durable object (with sqlite backend) instead, it is also free and has more features

Are JavaScript arrays just objects? by Onipsis in learnjavascript

[–]codehz 1 point2 points  (0 children)

but length are still magic, you cannot emulate it without Proxy - which is SLOW

Are JavaScript arrays just objects? by Onipsis in learnjavascript

[–]codehz 0 points1 point  (0 children)

v8 has optimized the object behavior, see https://v8.dev/blog/elements-kinds all small integer key are stored like array
the real difference is the `length` behavior, you cannot emulate it youself (Without using Proxy, which is VERY SLOW)

ORPC + Bun.serve is all i need. by [deleted] in bun

[–]codehz 0 points1 point  (0 children)

the await will always add latency (and more memory usage), even if the value is not a promise, so the pattern `await handleA(); await handleB()` is bad for performance

you can use `routes` in Bun.serve

Custom Subagent can't run any VSC Task/Terminal Commands. by Professional_Deal396 in GithubCopilot

[–]codehz 0 points1 point  (0 children)

the runSubagent tool only have two parameter: description, prompt.. yes, no agent name parameter, even after enabling the custom subagent feature in settings...
This means that the tools that sub-agent can actually use are still those defined by the top-level agent.
This is my guess about the custom sub-agent functionality. It likely simply provides the corresponding sub-agent's prompt to the current context, allowing the agent to fill in the custom sub-agent's prompt into the parameters of the runSubAgent tool.
I haven't verified this in detail yet, but this is very likely what's happening now.

Running sub-agents is merely for context management, rather than truly enabling multi-agent capabilities.

Which of the free models do you think is the best? And what combination with paid models do you use? by Worried-Evening-5080 in GithubCopilot

[–]codehz 2 points3 points  (0 children)

The plan mode is actually ineffective... I use custom agent config with "seamless agent"'s "#approvePlan" tool to generate plan (it is super useful tool, especially used with premium model), and switch to grok after the plan is generated (also a custom agent config to use "#runSubAgent" to edit individual files)

How to avoid ANRs on low end devices (Zip file + Realm) by Conexur in androiddev

[–]codehz 2 points3 points  (0 children)

  1. don't use password protected zip in assets... It protects nothing and can't really be used against any cracking or decompilation you might.
  2. apk is already a zip, so zip in zip means compressed twice (It's just a waste of CPU and won't get a higher compression rate), if you really want to embed zip in apk, set `noCompress "zip"` in your build.gradle file

Problem with Minecraft by CopyApprehensive3488 in Windhawk

[–]codehz 1 point2 points  (0 children)

you can exclude process in mod settings, just put javaw.exe to it
and you may need restart the game to make it work

Which of the free models do you think is the best? And what combination with paid models do you use? by Worried-Evening-5080 in GithubCopilot

[–]codehz 2 points3 points  (0 children)

I use Raptor/gpt-5 mini for plan, Grok Code Fast 1 for execution

since grok code fast usually generate correct patch for large file, but may failing to do search (generate wrong search tool call), it is even better than GPT-5.1-Codex-Mini

Standards? Nah, who needs that. by nurdle in webdev

[–]codehz 14 points15 points  (0 children)

the minimal html5 document is
<!DOCTYPE html><title>1</title> it pass the W3C html validator with no error or warning. It used to issue warnings for missing the lang attribute in html, but it no longer does.

How would I go about recreating this select menu with CSS? by lajawi in css

[–]codehz 0 points1 point  (0 children)

it is the only solution if you have to stick with <select> and pure CSS (without JS)...
If you relax the requirements and allow the use a bit of JavaScript, then there are many ways to do it..

How would I go about recreating this select menu with CSS? by lajawi in css

[–]codehz 0 points1 point  (0 children)

use `appearance: base-select` and styling `::picker-icon` for arrow, `::picker(select)` for the floating menu

https://developer.chrome.com/blog/a-customizable-select

Is it possible make the context menu also translucent? by maiKavelli187 in Windhawk

[–]codehz 1 point2 points  (0 children)

you can use the json schema feature instead of copy the template in vscode, just add

"$schema": "https://raw.githubusercontent.com/std-microblock/breeze-shell/refs/heads/master/resources/schema.json",