Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add empty system prompt for HF and local models #111

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

a-ghorbani
Copy link
Owner

Description

When the system prompt is undefined, the UI does not render the system prompt input text.
This pull request addresses the issue by setting the default value of the system prompt to an empty string.

Fixes #103

Platform Affected

  • iOS
  • Android

Checklist

  • Necessary comments have been made.
  • I have tested this change on:
    • iOS Simulator/Device
    • Android Emulator/Device
  • Unit tests and integration tests pass locally.

@a-ghorbani a-ghorbani marked this pull request as ready for review November 29, 2024 14:47
@a-ghorbani a-ghorbani merged commit b2d6386 into main Nov 29, 2024
3 checks passed
@a-ghorbani a-ghorbani deleted the fix/hf-system-prompt branch November 29, 2024 17:58
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.

[Bug]: System Prompt is not displayed for HF models
1 participant