Skip to content

Conversation

dhrubo-os
Copy link
Collaborator

Description

[bug fix ] #4141

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Dhrubo Saha <dhrubo@amazon.com>
@dhrubo-os dhrubo-os temporarily deployed to ml-commons-cicd-env September 3, 2025 01:07 — with GitHub Actions Inactive
@dhrubo-os dhrubo-os temporarily deployed to ml-commons-cicd-env September 3, 2025 01:07 — with GitHub Actions Inactive
@dhrubo-os dhrubo-os temporarily deployed to ml-commons-cicd-env September 3, 2025 02:22 — with GitHub Actions Inactive
@dhrubo-os dhrubo-os mentioned this pull request Sep 3, 2025
5 tasks
@mingshl
Copy link
Collaborator

mingshl commented Sep 12, 2025

nitpick, can you try naming the PR fix in a readable title please ?

} else if (parser.currentToken() == XContentParser.Token.START_OBJECT) {
memoryEmbedding = parser.map(); // For sparse embeddings
} else {
parser.skipChildren();
Copy link
Collaborator

Choose a reason for hiding this comment

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

if other model format, it is quietly skipping, maybe it's better to throw exception when it's not recognized data format. I think this might be the reason why when we used Ollama's model, it went through all the way in setting, but the agentic memory is empty, because here it skips parsing the model output

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