Skip to content

Conversation

@371tti
Copy link
Owner

@371tti 371tti commented Dec 4, 2025

No description provided.

- Updated dependencies in Cargo.toml, including adding kurosabi and openai_dive.
- Removed unused dependencies and organized existing ones.
- Introduced new modules: context, commands, config, and lmclient.
- Implemented a basic ping command in the commands module.
- Created ObserverContext for managing application state and configuration.
- Integrated kurosabi for server handling and improved logging setup.
- Refactored main.rs to streamline initialization and command handling.
- Added LMClient for handling interactions with OpenAI's API.
- Updated dependencies in Cargo.toml, including enabling streaming for openai_dive.
- Implemented new commands: `clear`, `enable`, `disable`, and `ask` for managing chat contexts.
- Introduced `ChatContexts` and `ChatContext` structs to handle context per channel.
- Added user context management with `UserContexts` and `UserContext` structs.
- Enhanced `LMClient` to support streaming responses and tool execution.
- Integrated logging for better error handling and debugging.
- Updated event handling to process messages and manage context efficiently.
- Added dotenv support for environment variable management.
- Removed the old web scraper implementation in `web_scraper.rs` and replaced it with a new `Browser` struct that utilizes `ScraperAPIBuilder` for improved scraping functionality.
- Deleted the `www_search.rs` file as its functionality is now integrated into the new scraper.
- Updated `UserContext` to include a `rate_line` field for tracking user rate limits.
- Introduced a new `Browser` struct in `browser.rs` to handle webpage browsing and content extraction based on CSS selectors.
- Added comprehensive Discord tools for managing reactions, threads, sending messages, editing messages, fetching messages, and searching messages in channels.
- Enhanced error handling and logging throughout the new implementations.
feat: admin_usersフィールドをConfig構造体に追加
fix: context.rsでrate_configコマンドをインポート
fix: LMContextの最大バッファ長を256から64に変更
@371tti
Copy link
Owner Author

371tti commented Dec 4, 2025

まだ若干不安定
タイムアウト実装できてない

@371tti 371tti requested a review from Copilot December 4, 2025 07:31
@371tti
Copy link
Owner Author

371tti commented Dec 4, 2025

まって設定ファイル実装してない、

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

- Updated `tokio` to use the "full" feature set for enhanced functionality.
- Upgraded `reqwest` to version 0.12.28 with `rustls-tls` support and disabled default features.
- Updated `openai_dive` to version 1.3.3 with `rustls-tls` support and disabled default features.
- Modified `wk-371tti-net-crawler` dependency to disable default features and enable `tls-rustls`.
- Marked tasks in README as completed: optimized image loading and resolved sudden disconnection issues from Discord.
- Updated submodule `wk-371tti-net-crawler` to the latest commit.
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