Skip to content

feat: robust strict mode implementation #99

@VforVitorio

Description

@VforVitorio

What problem does this solve?

strict mode is intended to be a pure chat experience with no tool access. The current implementation might be leaky or not cleanly strip tools from the LM Studio SDK payload, confusing the model or leading to hallucinated tool calls.

Proposed solution

  1. When in strict mode, intercept the tool list passed to model.act() and send an empty list (or cleanly disable tools at the SDK level).
  2. Update the system prompt dynamically if needed so the model knows it cannot interact with the local environment.
  3. Ensure UI elements reflect this (e.g., hiding tool-related hints or panels).

Alternatives considered

N/A - Strict mode needs to strictly mean 'no tools', requiring SDK-level blocking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions