-
Notifications
You must be signed in to change notification settings - Fork 1
feat: 安定化 ランタイム外依存の削減 #2
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
Open
371tti
wants to merge
24
commits into
master
Choose a base branch
from
dev
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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に変更
Owner
Author
|
まだ若干不安定 |
Owner
Author
|
まって設定ファイル実装してない、 |
There was a problem hiding this 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.