Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Develop#25

Merged
MKAbuMattar merged 8 commits into
mainfrom
develop
Aug 9, 2025
Merged

Develop#25
MKAbuMattar merged 8 commits into
mainfrom
develop

Conversation

@MKAbuMattar
Copy link
Copy Markdown
Collaborator

@MKAbuMattar MKAbuMattar commented Aug 8, 2025

Pull Request Template for Rawi

Thank you for your contribution to Rawi! Please fill out the following information to help us review your pull request.

Pull Request Checklist

Before submitting your PR, please ensure you have completed the following:

  • I have read the CONTRIBUTING.md guide.
  • I have checked the existing issues and pull requests to ensure this is not a duplicate.
  • My code follows the project's Coding Style.
  • My changes pass all existing tests.
  • I have added new tests for new features or bug fixes (if applicable).
  • I have updated the documentation as needed (if applicable).
  • My commit message follows the Conventional Commits standard.

Type of Change

Please mark the type of change your PR introduces with an x in the brackets (e.g., [x]).

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Chore (e.g., build process, tooling, or CI/CD updates)
  • Refactor (code change that neither fixes a bug nor adds a feature)
  • Other (please describe below)

Description

Please provide a clear and concise description of your changes. What problem does this PR solve? How does it solve it?

Related Issue(s)

If this PR addresses an open issue, please link it here (e.g., Closes #123, Fixes #456).

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Examples:

  • Unit tests: pnpm test
  • Manual testing: Steps followed...
  • End-to-End tests...

Screenshots (if applicable)

If your changes include UI updates or new features that are visually demonstrable, please include screenshots or GIFs here.

Additional Context

Add any other context or information about your pull request here. This could include challenges faced, design decisions, or future considerations.

…io, Mistral, Ollama, OpenAI, and xAI

- Implemented Google provider with streaming capabilities.
- Added LM Studio provider for model interactions.
- Integrated Mistral provider for AI model streaming.
- Included Ollama provider for chat functionalities.
- Enhanced OpenAI provider with new model options.
- Introduced xAI provider for Grok models.
- Established a unified interface for chat providers with streaming support.
- Updated utility functions to handle streaming responses and content filtering.
- Created types for chat providers and credentials for better type safety.
@MKAbuMattar MKAbuMattar self-assigned this Aug 8, 2025
@MKAbuMattar MKAbuMattar requested a review from a team as a code owner August 8, 2025 14:17
@MKAbuMattar MKAbuMattar added documentation Improvements, corrections, or additions to documentation. cli Specific issues or features related to the command-line interface (e.g., arguments, flags, parsing). ai-model Issues or improvements related to the underlying AI model's behavior, accuracy, or capabilities. performance Issues or improvements related to speed, efficiency, or resource usage. refactor Code changes that improve structure or readability without adding new features or fixing bugs. content Quality & relevance of generated answers, summaries, or analyses. labels Aug 8, 2025
- Introduced new command options for session management including limit, date filters, format, stats, backup, restore, batch delete, and archive.
- Implemented session options for creating, listing, deleting, exporting, and renaming sessions.
- Created session types for better type management and reusability across the chat commands.
- Developed session manager and state manager classes to handle session creation, retrieval, deletion, and state persistence.
- Added utility functions for formatting and displaying session information, including table and JSON formats.
- Implemented session validation and search utilities for improved session handling and user experience.
- Updated exports in chat actions to maintain consistency.
- Removed unnecessary comments and improved code readability in response-handler and session-selector.
- Enhanced session management logic by streamlining session creation and selection processes.
- Cleaned up session types and options to remove redundant comments and improve clarity.
- Improved session state management by simplifying methods and removing outdated comments.
- Refined utility functions for session formatting and validation, enhancing maintainability.
- Adjusted Ollama provider implementations to ensure proper response typing and handling.
…nd messages

- Updated database schema to rename tables and adjust related queries.
- Added new fields to sessions table: description, status, last_accessed_at, query, files_processed, content_filtered, conversation_context, max_messages, is_private, and tags.
- Enhanced messages table with new fields: message_order, processing_time, token_usage, parent_message_id, is_edited, edit_history, and reactions.
- Modified session and message creation methods to include new fields and types.
- Updated all related queries and triggers to reflect the new table and field names.
- Adjusted types in shared types definition to accommodate new fields and types.
…ionalities

- Updated the `act` command to support managing custom templates alongside built-in ones.
- Added options for listing, creating, editing, and deleting templates.
- Implemented a new `ActTemplateManager` class for handling database interactions related to templates.
- Modified the database schema to include a new `act_templates` table for storing custom templates.
- Improved documentation to reflect changes in template management and usage.
- Ensured templates work globally across all profiles, simplifying user interactions.
@MKAbuMattar MKAbuMattar merged commit 6641293 into main Aug 9, 2025
14 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ai-model Issues or improvements related to the underlying AI model's behavior, accuracy, or capabilities. cli Specific issues or features related to the command-line interface (e.g., arguments, flags, parsing). content Quality & relevance of generated answers, summaries, or analyses. documentation Improvements, corrections, or additions to documentation. performance Issues or improvements related to speed, efficiency, or resource usage. refactor Code changes that improve structure or readability without adding new features or fixing bugs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant