Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[devkit][trace] Fix "Failed to load trace ... is not a valid JSON" wh…
…en traces have invalid JSON values (#3190) # Description `-Infinity`, `Infinity` and `NaN` are serializable in Python, but not in standard JSON; so trace UI cannot parse such JSON string. This PR applies a deserialize and serialize to parse them as normal string to make them standard JSON values. # All Promptflow Contribution checklist: - [x] **The pull request does not introduce [breaking changes].** - [x] **CHANGELOG is updated for new features, bug fixes or other significant changes.** - [x] **I have read the [contribution guidelines](../CONTRIBUTING.md).** - [ ] **Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: [suggested workflow](../CONTRIBUTING.md#suggested-workflow).** ## General Guidelines and Best Practices - [x] Title of the pull request is clear and informative. - [x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, [see this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/cleaning-up-commits.md). ### Testing Guidelines - [x] Pull request includes test coverage for the included changes.
- Loading branch information