This repository was archived by the owner on Jul 12, 2025. It is now read-only.
forked from Moonlark-Dev/Moonlark
-
Notifications
You must be signed in to change notification settings - Fork 0
尝试更新这个仓库的代码 #2
Open
This-is-XiaoDeng
wants to merge
2,485
commits into
Moonlark-Dev:main
Choose a base branch
from
Moonlark-Dev:main
base: main
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
尝试更新这个仓库的代码 #2
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
New Crowdin updates
updates: - [github.com/psf/black-pre-commit-mirror: 25.11.0 → 25.12.0](psf/black-pre-commit-mirror@25.11.0...25.12.0)
Bumps [actions-cool/issues-helper](https://github.com/actions-cool/issues-helper) from 3.7.2 to 3.7.3. - [Release notes](https://github.com/actions-cool/issues-helper/releases) - [Changelog](https://github.com/actions-cool/issues-helper/blob/main/CHANGELOG.md) - [Commits](actions-cool/issues-helper@v3.7.2...v3.7.3) --- updated-dependencies: - dependency-name: actions-cool/issues-helper dependency-version: 3.7.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
[pre-commit.ci] pre-commit autoupdate
…ctions-cool/issues-helper-3.7.3 build(deps): bump actions-cool/issues-helper from 3.7.2 to 3.7.3
New Crowdin updates
暂时想不到要怎么写提示词,不加先了
Feat/chat/patch 1211
New Crowdin updates
Add response_format parameter to fetch_message() that accepts Pydantic BaseModel classes for structured LLM outputs. When provided, uses OpenAI's beta.chat.completions.parse() for type-safe responses. Refactor note tool to use structured output: - Convert TypedDict classes to Pydantic BaseModel with Field descriptors - Replace JSON regex parsing with native structured output parsing - Use discriminated union for AvailableNote/InvalidNote handling
Reorder response handling to process tool calls before yielding message content, and change stop condition from elif to if to properly handle all finish reasons after tool execution.
…b-blank-line 删除年进度推送末尾的空行
feat(openai): add structured output support with Pydantic models
Add format_note helper function to display note metadata including note ID and creation timestamp in the group prompt generation.
Add ability to delete notes through a new tool function. This allows the AI assistant to remove outdated, incorrect, or no longer needed notes from the group context. - Add get_note_remover function to handle note deletion - Register AsyncFunction for note removal in group matcher - Add localization strings for success and not-found messages
添加笔记 id 和有关删除工具
New Crowdin updates
Move calculate_ghot_coefficient() call to run on every cache post instead of periodically (every 10 messages or every 10 minutes). This ensures the coefficient is always up-to-date when messages are cached.
New Crowdin updates
…els" This reverts commit 9645b3e.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
要是不行就 Archive 了吧(?)