Skip to content

Conversation

ArnavAgrawal03
Copy link
Collaborator

No description provided.

Copy link

jazzberry-ai bot commented Jul 30, 2025

Bug Report

Model selection does not persist when a message is submitted.
Severity: Medium
Example test case:

  1. Open the chat interface.
  2. Select a model other than the default (e.g., a custom model or lemonade).
  3. Type a message and submit it.
  4. Observe that after the message is submitted, the model selection reverts back to the "Default" model.
    Description: The handleModelChange function updates the queryOptions and the local selectedModel state, but the state isn't saved beyond the current render cycle. When handleSubmit is called, the queryOptions within the useMorphikChat hook are used to construct the API request. However, the useMorphikChat hook does not re-fetch/update the query options from the parent component when they change, and so the previous state is used to make the request.

Comments? Email us.

@ArnavAgrawal03 ArnavAgrawal03 merged commit f188963 into main Jul 30, 2025
2 checks passed
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bugbot free trial expires on August 13, 2025
Learn more in the Cursor dashboard.

});

console.log("isLoading", isLoading);

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Debug Statement Left in Code

A debug console.log("isLoading", isLoading); statement was accidentally left in the ChatSection.tsx component and should be removed.

Locations (1)
Fix in Cursor Fix in Web

ollama: {
name: "Ollama",
icon: "🦙",
logo: { light: "/provider-logos/ollama-black.png", dark: "/provider-logos/ollamae-white.png" },
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Dark Mode Logo Filename Typo

The Ollama provider's dark mode logo filename contains a typo: "ollamae-white.png" should be "ollama-white.png". This prevents the logo from loading correctly, resulting in a broken image or placeholder in both the Model Manager and Chat sections.

Locations (2)
Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant