feat: add brave search container and toolset
This commit is contained in:
@@ -14,6 +14,7 @@ const ALL_TOOL_NAMES = [
|
||||
'file.list',
|
||||
'web.fetch',
|
||||
'web.search',
|
||||
'web.search.news',
|
||||
'memory.read',
|
||||
'memory.write',
|
||||
'memory.search',
|
||||
@@ -96,6 +97,7 @@ describe('PROFILE_TOOLS', () => {
|
||||
}
|
||||
expect(PROFILE_TOOLS.messaging.has('memory.read')).toBe(true);
|
||||
expect(PROFILE_TOOLS.messaging.has('web.search')).toBe(true);
|
||||
expect(PROFILE_TOOLS.messaging.has('web.search.news')).toBe(true);
|
||||
});
|
||||
|
||||
it('coding is a superset of messaging', () => {
|
||||
@@ -152,6 +154,7 @@ describe('ToolPolicy', () => {
|
||||
expect(names).toContain('memory.read');
|
||||
expect(names).toContain('memory.write');
|
||||
expect(names).toContain('web.search');
|
||||
expect(names).toContain('web.search.news');
|
||||
expect(names).not.toContain('shell.exec');
|
||||
expect(names).not.toContain('file.write');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user