Skip to content

feat(tools): add readFile tool for local file access#37

Open
herrryan wants to merge 6 commits intoTraderAlice:devfrom
herrryan:feat/add-filesystem-tools
Open

feat(tools): add readFile tool for local file access#37
herrryan wants to merge 6 commits intoTraderAlice:devfrom
herrryan:feat/add-filesystem-tools

Conversation

@herrryan
Copy link

@herrryan herrryan commented Mar 1, 2026

Adds a new 'readFile' tool to the thinking-kit.

This provides the AI with a secure, dedicated tool to read the contents of local files, addressing a previous limitation where it had to rely on other, less suitable tools.

luokerenx4 and others added 6 commits February 28, 2026 17:30
refactor: ConnectorCenter, persistent media store, SSE stability
Adds the necessary frontend components, configuration, and backend logic to support the Discord connector.

- Defines the discord connector schema in the core configuration.
- Implements the plugin loading and reconnect logic for the Discord connector in the main application entry point.
- Adds 'discord.js' and its related dependencies to the project.
- Updates the frontend API types to include the Discord connector configuration.
- Adds the Discord option to the connector selection component in the UI.
- Implements the UI section for displaying and configuring the Discord bot token and channel ID on the Connectors page.
Fixes a race condition where the auto-save functionality for model/provider settings could overwrite newly saved API keys.

The 'Save Keys' handler now uses the most up-to-date form state ('modelData') when building the configuration object, ensuring that manual key updates are not lost.
Adds message chunking to the 'messageCreate' handler in the Discord plugin.

This prevents crashes when the AI generates a response longer than Discord's 2000-character limit by splitting the message into multiple, smaller messages.
Adds a new 'readFile' tool to the thinking-kit.

This provides the AI with a secure, dedicated tool to read the contents of local files, addressing a previous limitation where it had to rely on other, less suitable tools.
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.

2 participants