fix: 修复agent报错问题
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace Yi.Framework.AiHub.Domain.Shared.Attributes;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method)]
|
||||
public class YiAgentToolAttribute:Attribute
|
||||
{
|
||||
public YiAgentToolAttribute()
|
||||
{
|
||||
}
|
||||
|
||||
public YiAgentToolAttribute(string name)
|
||||
{
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public string Name { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user