Add profile-based LLM routing and tighten manager-worker dispatch tracking#2
Open
xxx7xxxx wants to merge 1 commit intoOpenCSGs:mainfrom
Open
Add profile-based LLM routing and tighten manager-worker dispatch tracking#2xxx7xxxx wants to merge 1 commit intoOpenCSGs:mainfrom
xxx7xxxx wants to merge 1 commit intoOpenCSGs:mainfrom
Conversation
Collaborator
Review suggestion 1Recommended configuration structure:
# Generated by csgclaw onboard.
[server]
listen_addr = "0.0.0.0:18080"
advertise_base_url = ""
access_token = "your_access_token"
[bootstrap]
manager_image = "ghcr.io/russellluo/picoclaw:2026.4.8.1"
[models]
default = "codex:gpt-5.4"
[models.providers.codex]
models = ["gpt-5.4"]
provider = "llm-api"
base_url = "http://127.0.0.1:8317/v1"
api_key = "local"
[models.providers.infini]
models = ["glm-5"]
base_url = "https://cloud.infini-ai.com/maas/v1"
api_key = "sk-xxxx"References:
Review suggestion 2csgclaw onboard --profile default --default-profile default --base-url <url> --api-key <key> --model-id <model> [--reasoning-effort <effort>]TODO: need to discuss this part further. My understanding of Review suggestion 3Packaging "workspace/config/skills" for PicoClaw directly in CSGClaw will introduce significant complexity. In addition, we may support other xxClaw variants in the future, which would further increase the complexity. For now, I will build an image using your latest skill. TODO: need to discuss the follow-up optimization strategy together. Review suggestion 4Consider removing comments like the following: They are too detailed and numerous for inline comments. When needed, we can rely on AI to interpret them instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces profile-based LLM routing for agents and tightens the manager-worker dispatch workflow.
manager_worker_api.pytracking so task handoff stays sequential and depends on bothtodo.jsonprogress and in-room worker replies.Since the config has been enhanced, my local config looks like this. And I use https://github.com/router-for-me/CLIProxyAPI to leverage local codex as an API proxy.