Merge pull request #1040 from JackJiang1234/master
Update AgentService.GetAgents.cs
This commit is contained in:
commit
ad952cb1e0
|
|
@ -48,8 +48,8 @@ public partial class AgentService
|
|||
|
||||
if (profile == null)
|
||||
{
|
||||
_logger.LogError($"Can't find agent {id}");
|
||||
return null;
|
||||
//_logger.LogError($"Can't find agent {id}");
|
||||
throw new ArgumentException($"Can't find agent {id}");
|
||||
}
|
||||
|
||||
// Load llm config
|
||||
|
|
|
|||
Loading…
Reference in a new issue