Allow BotSharp to run rule-only agents without requiring LLM
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.1k
- Forks
- 651
- Avg merge
- 15h 2m
- Merged PRs (30d)
- 36
Description
When creating a rule-based agent (with no LLM configured) using the API, the framework still attempts to resolve an LLM model during conversation.
the output of this line (var settings = settingsService.GetSetting(provider, model);) is null
to generate the issue:
-
remove all LLM models from appsettings.json in WebStarter as below
"LlmProviders": [
],
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by removing all entries from LlmProviders in WebStarter/appsettings.json, then trace the API conversation path for a rule-based agent without an LLM. Check where settingsService.GetSetting(provider, model) is called; done means the rule-only agent can handle a conversation without attempting to resolve an LLM model.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100