mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 20:20:57 +00:00
feat(cli): support tools.sandboxImage in settings (#3146)
Co-authored-by: jinye.djy <jinye.djy@alibaba-inc.com>
This commit is contained in:
parent
116796b2a4
commit
1557d93043
8 changed files with 146 additions and 19 deletions
|
|
@ -110,6 +110,16 @@ describe('SettingsSchema', () => {
|
|||
).toBeDefined();
|
||||
});
|
||||
|
||||
it('should have sandboxImage setting under tools', () => {
|
||||
expect(getSettingsSchema().tools.properties.sandboxImage).toBeDefined();
|
||||
expect(getSettingsSchema().tools.properties.sandboxImage.type).toBe(
|
||||
'string',
|
||||
);
|
||||
expect(getSettingsSchema().tools.properties.sandboxImage.default).toBe(
|
||||
undefined,
|
||||
);
|
||||
});
|
||||
|
||||
it('should have unique categories', () => {
|
||||
const categories = new Set();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue