Merge branch 'SciSharp:master' into master

This commit is contained in:
hchen2020 2024-02-10 09:44:13 -06:00 committed by GitHub
commit a5f8536211
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,7 @@ public class AgentLlmConfigMongoElement
public string? Provider { get; set; }
public string? Model { get; set; }
public bool IsInherit { get; set; }
public int MaxRecursionDepth { get; set; }
public static AgentLlmConfigMongoElement? ToMongoElement(AgentLlmConfig? config)
{
@ -17,6 +18,7 @@ public class AgentLlmConfigMongoElement
Provider = config.Provider,
Model = config.Model,
IsInherit = config.IsInherit,
MaxRecursionDepth = config.MaxRecursionDepth,
};
}
@ -29,6 +31,7 @@ public class AgentLlmConfigMongoElement
Provider = config.Provider,
Model = config.Model,
IsInherit = config.IsInherit,
MaxRecursionDepth = config.MaxRecursionDepth,
};
}
}