Docs · Guide
Tuanjie Cowork on any model
Tuanjie Cowork is Unity China's AI coworker app, whose core runs Codely sessions. The Custom Models in its Settings are kept in ~/.codely/settings.json. packinggoods adds a provider and a model of its own there, so Cowork runs on any model in packinggoods: DeepSeek, GLM, Kimi, Qwen, GPT or a ChatGPT subscription.
Set up Tuanjie Cowork
- Add a provider in packinggoodsAdd an API key on the Providers page, or sign in to a subscription.
- Pick a model for Tuanjie Cowork on the Agents pagePick a model via packinggoods; packinggoods writes it into Cowork's custom models.
- Pick it in Cowork's model menuOnce, as below.
packinggoods tuanjie-cowork deepseek/deepseek-v4-pro
What gets written
{
"customModelProviders": [
…your own providers, left as they are…,
{"id": "packinggoods", "name": "packinggoods",
"baseUrl": "http://127.0.0.1:3425/v1",
"apiKey": "",
"authType": "openai"}
],
"customModels": [
…your own models…,
{"id": "packinggoods", "providerId": "packinggoods",
"model": "deepseek/deepseek-v4-pro",
"displayName": "deepseek/deepseek-v4-pro",
"roles": ["model"], "wireApi": "chat",
"supportsMultimodal": false}
]
} The provider and the model both have the id packinggoods. The provider is the gateway's /v1 with packinggoods's own key for Tuanjie Cowork, which is how the gateway knows the requests are Cowork's. The model is on Chat Completions (wireApi chat), with supportsMultimodal true when the model takes images.
Cowork reads the file afresh on every lookup and writes it whole, other keys kept. A session is started with its provider's baseUrl and key as OPENAI_BASE_URL and OPENAI_API_KEY. Your own providers and models stay as they are, and so does a name, roles or another field you give packinggoods's entries in Cowork. Where there is no file, packinggoods makes one with 0600 permissions, since it holds keys.
If you have a provider or a model of your own with the id packinggoods, or the file isn't settings Cowork reads, packinggoods says so and leaves the file alone. Cowork's start-up migrations only move models with no providerId, so packinggoods's entries are left alone.
Picking it in Cowork
Which model a chat is on is Cowork's own pick in its model menu, kept per workspace by model id. packinggoods doesn't write that pick, so the first time you pick packinggoods's model in Cowork's menu. The model's id stays packinggoods, so a model you change in packinggoods later is the one that pick sends, with no new pick.
While Cowork is running, packinggoods reminds you to pick its model in the model menu, and to restart Tuanjie Cowork if it isn't there yet.
Switching back
Switching back removes packinggoods's provider and model. If packinggoods made settings.json and nothing else is left in it, the file goes too. Your own models are picked in Cowork's model menu; packinggoods doesn't set them.
packinggoods tuanjie-cowork default
FAQ
How do I use DeepSeek, GLM or a ChatGPT subscription in Tuanjie Cowork?
Pick a via-packinggoods model for Tuanjie Cowork on packinggoods's Agents page. packinggoods adds a packinggoods provider and model to ~/.codely/settings.json. Then pick it once in Cowork's model menu.
After changing the model in packinggoods, do I pick it again in Cowork?
No. packinggoods's model id is always packinggoods, so Cowork's pick stays on it and sends the model you picked in packinggoods.
Are my own custom models changed?
No. packinggoods adds and removes only entries with the id packinggoods. If you have one of your own with that id, packinggoods says so and leaves the file alone.
packinggoods's model isn't in the model menu. What now?
Restart Tuanjie Cowork. While it runs, packinggoods says so too.
More desktop apps on the same models: OpenBot on any model, miniQ on any model, Cindy on any model and DS Bot on any model. Something fails? See Fixing common errors, or ask on Discord.