Skip to content

Commit 7b81806

Browse files
committed
lint
1 parent a51c596 commit 7b81806

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/utils/tools-loader.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ export async function loadToolsFromInput(
141141
if (hasCallActor || hasActorTools || hasAddActorTool) {
142142
result.push(getActorOutput);
143143
}
144-
145-
144+
146145
// Handle client capabilities logic for 'actors' category to swap call-actor for add-actor
147146
// if client supports dynamic tools.
148147
const selectorContainsCallActor = selectors?.some((s) => s === HelperTools.ACTOR_CALL);

tests/integration/suite.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ export function createIntegrationTestsSuite(
989989

990990
await client.close();
991991
});
992-
it.runIf(options.transport === 'streamable-http')('should swap call-actor for add-actor when client supports dynamic tools for default tools', async () => {
992+
it.runIf(options.transport === 'streamable-http')(`should swap call-actor for add-actor when client supports dynamic tools for default tools`, async () => {
993993
client = await createClientFn({ clientName: 'Visual Studio Code' });
994994
const names = getToolNames(await client.listTools());
995995

@@ -999,7 +999,7 @@ export function createIntegrationTestsSuite(
999999

10001000
await client.close();
10011001
});
1002-
it.runIf(options.transport === 'streamable-http')('should NOT swap call-actor for add-actor when client supports dynamic tools when using the call-actor explicitly', async () => {
1002+
it.runIf(options.transport === 'streamable-http')(`should NOT swap call-actor for add-actor when client supports dynamic tools when using the call-actor explicitly`, async () => {
10031003
client = await createClientFn({ clientName: 'Visual Studio Code', tools: ['call-actor'] });
10041004
const names = getToolNames(await client.listTools());
10051005

0 commit comments

Comments
 (0)