Skip to content
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

fix: evaluation json parsing #907

Merged
merged 1 commit into from
Dec 7, 2024
Merged

Conversation

cygaar
Copy link
Collaborator

@cygaar cygaar commented Dec 7, 2024

Relates to:

Right now the call to parseJsonArrayFromText in evaluate fails at times because the result passed in looks like:

```json
[
  'EXTRACT_RECOMMENDATIONS'
]
```

In order to fix this, we need to fix the parsing function to convert the single quotes to double quotes.

Risks

Low

Background

What does this PR do?

What kind of change is this?

Documentation changes needed?

Testing

Where should a reviewer start?

Detailed testing steps

@cygaar cygaar merged commit 216e312 into elizaOS:main Dec 7, 2024
8 checks passed
@cygaar cygaar deleted the fix_evaulation_parsing branch December 7, 2024 22:18
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.

1 participant