Copilot and Qwen coding agent#156
Merged
Cedric / ViaDézo1er (viadezo1er) merged 13 commits intoApr 30, 2026
Merged
Conversation
Agents had very similar code in `bt setup`
|
Latest downloadable build artifacts for this PR commit
Available artifact names
|
Contributor
Author
|
Example config to test qwen {
"env": {
"OPENAI_API_KEY": "a real openai api key"
},
"modelProviders": {
"openai": [
{
"id": "gpt-5-nano",
"name": "GPT-5-nano",
"envKey": "OPENAI_API_KEY",
"baseUrl": "https://api.openai.com/v1",
"generationConfig": {
"timeout": 60000,
"maxRetries": 3,
"enableCacheControl": true,
"contextWindowSize": 128000,
"modalities": {
"image": true
},
"customHeaders": {
"X-Client-Request-ID": "req-123"
},
"extra_body": {
"service_tier": "flex"
},
"samplingParams": {}
}
}
]
},
"security": {
"auth": {
"selectedType": "openai"
}
},
"model": {
"name": "gpt-5-nano"
},
"$version": 3,
"mcpServers": {
"braintrust": {
"httpUrl": "https://staging-api.braintrust.dev/mcp",
"headers": {
"Authorization": "Bearer sk-****a real braintrust api key"
}
}
}
} |
cursor needs --output-format stream-json to output its thinking in real time, which requires some custom code
0cb94b7 to
fc807dc
Compare
|
|
||
| fn async_env_test_lock() -> &'static AsyncMutex<()> { | ||
| static LOCK: OnceLock<AsyncMutex<()>> = OnceLock::new(); | ||
| LOCK.get_or_init(|| AsyncMutex::new(())) |
There was a problem hiding this comment.
Why did we introduce this? Now the sync and async tests can be run in parallel, and access env, which is bad. We should have a single shared mutex.
Abhijeet Prasad (AbhiPrasad)
approved these changes
Apr 30, 2026
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.
Add copilot and qwen to the agents supported by
bt setupThere are commits related to Qwen as this branch was created from
cedric/add-qwen-coding-agentbefore it was merged into main.Small DRY refactor.
Bug fixes:
--output-format stream-jsonto output their thinking in real time in background mode, which requires some custom code.