GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — Use autoCaptureLanguage to analyze user profile by berteauxjb · Pull Request #317 · tickernelz/opencode-mem Conversation
Contributor
The prompt for the user profile mentions that the model should detect the language of the user. In my case, the model detected Catalan even though my prompts were written in English. After further investigation, I realized that the setting autoCaptureLanguage was only used to generate memories, but not to generate the user profile. This PR mirrors the implementation of the language selection already implemented for the memories, but for the user profile. Disclaimer: the issue was investigated and fixed by Claude Sonnet 5.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
karaaslanz
approved these changes
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Re-checked the updated head after my earlier feedback. The language detection now runs against the actual user-prompt corpus rather than the English analysis scaffold, and the added regression coverage exercises that exact failure mode. That addresses the correctness concern from my previous review scope. Looks good from this scope.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUser profile can randomly be generated in another language than what the user uses. There's already a mechanism to select the language of the memories, this commit uses it in the user profile as well. Previous commit was detecting the language based on the user prompts wrapped in the analysis context, which contains English instructions. This could skew the language detection to English. This commit addresses the issue by only analyzing the user prompts. Keep the example config template in sync with CONFIG_TEMPLATE after rebasing onto main.
EyJunge1
force-pushed
the
fix/profile-language-config
branch
from
64a8791 to
79ce440
Compare
Uh oh!
There was an error while loading. Please reload this page.
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | ||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |