SciSharp / SciSharp/BotSharp

Allow BotSharp to run rule-only agents without requiring LLM

Open
#1,081 0 comments 0 reactions 0 assignees View on GitHub

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

Image

to generate the issue:

  • remove all LLM models from appsettings.json in WebStarter as below

    "LlmProviders": [

    ],

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.