You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coming from autogen for Python, I'm used to the framework actually being able to run with LM-Studio. In case of the DotNet implementation, I can't use (as the title says) an IEnumerable of LMStudioConfig as ConfigList, even though the ConfigList is an IEnumerable of ILLMConfig, which LMStudioConfig implements as well.
internalclassAgentRepository{public AssistantAgent Create_AsisstantAgent(ILLMConfigconfig){IEnumerable<ILLMConfig>value=[config];varmyAgent=new AssistantAgent(
name:"Assistant",
systemMessage:"You are an assistant that help user to do some tasks.",
llmConfig:new ConversableAgentConfig
{Temperature=0,ConfigList=value});
myAgent.RegisterPrintMessage();// register a hook to print message nicely to console returnmyAgent;}}
Model Used
Llama3
Expected Behavior
The Agent should have been built
Screenshots and logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
First time reporting an issue on Github. I should apply the label DoNet, but haven't found out how yet.
LittleLittleCloud
changed the title
[Bug]: Constructor of conversableAgentConfig does not accept LMStudioConfig as ConfigList
[.Net][Bug]: Constructor of conversableAgentConfig does not accept LMStudioConfig as ConfigList
May 6, 2024
_ =>thrownew ArgumentException($"Unsupported config type {llmConfig.GetType()}"),
)
We will push a fix to add LMStudioConfig configuration in AssistentAgent. In the meantime, you can use LMStudioAgent to replace AssistantAgent. The only difference between LMStudioAgent and AssistantAgent is AssistantAgent support default reply while LMStudioAgent doesn't
Describe the bug
Coming from autogen for Python, I'm used to the framework actually being able to run with LM-Studio. In case of the DotNet implementation, I can't use (as the title says) an IEnumerable of LMStudioConfig as ConfigList, even though the ConfigList is an IEnumerable of ILLMConfig, which LMStudioConfig implements as well.
Steps to reproduce
Create a valid LMStudioConfig:
Try to build an Agent that's not an LMStudioAgent
Model Used
Llama3
Expected Behavior
The Agent should have been built
Screenshots and logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: