Fix compile issue

This commit is contained in:
Haiping Chen 2025-04-20 18:29:13 -05:00
parent a791600c40
commit 8f6e50d13e

View file

@ -1,4 +1,4 @@
using BotSharp.Abstraction.Agents; using BotSharp.Abstraction.Agents;
using BotSharp.Abstraction.Agents.Enums; using BotSharp.Abstraction.Agents.Enums;
using BotSharp.Abstraction.Agents.Models; using BotSharp.Abstraction.Agents.Models;
using BotSharp.Abstraction.Functions.Models; using BotSharp.Abstraction.Functions.Models;
@ -26,7 +26,7 @@ namespace BotSharp.Plugin.Google.Core
return Task.FromResult(new PagedItems<Agent>()); return Task.FromResult(new PagedItems<Agent>());
} }
public Task<List<IdName>> GetAgentOptions(List<string>? agentIds = null) public Task<List<IdName>> GetAgentOptions(List<string>? agentIds = null, bool byName = false)
{ {
return Task.FromResult(new List<IdName> { new IdName(id: "1", name: "Fake Agent") }); return Task.FromResult(new List<IdName> { new IdName(id: "1", name: "Fake Agent") });
} }