Skip to content

add 3 keywords #114

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

Merged
merged 2 commits into from
Jul 21, 2025
Merged

add 3 keywords #114

merged 2 commits into from
Jul 21, 2025

Conversation

AlanAlanAlanXu
Copy link
Contributor

add source_code, cursor_position, user_input

变更描述

本次PR希望为未来能为monkeycode提供用户补全数据集,帮助我们更好的提高补全性能而建立。新增了三个字段,包括source_code, cursor_position, user_input,其中source_code为用户希望补全的文件原文,cursor_position是当前光标的位置,user_input是我们希望后期检测到用户在生成补全的同一光标位置重新进行自己的输入时,将is_accepted设置成false并记录的用户的正确的输入。后期将继续添加检测用户在生成补全的同一光标位置重新进行自己的输入并发送记录请求的逻辑。

变更类型

  • Bug修复 (不兼容的变更,修复某个问题)
  • [ ✅] 新功能 (不兼容的变更,添加新功能)
  • 破坏性变更 (修复或功能会导致现有功能无法按预期工作)
  • 文档更新
  • 代码重构
  • 其他 (请说明)

影响范围

应该不会影响其他功能

测试验证

使用单元测试往数据库中插入这些字段

相关问题

关闭 #

add source_code, cursor_position, user_input
@yokowu yokowu merged commit 71159a1 into chaitin:main Jul 21, 2025
2 checks passed
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy