Skip to content

Allow BotSharp to run rule-only agents without requiring LLM #1081

@JoPetra

Description

@JoPetra

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": [

    ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions