Files
dify-plugin-sdks/python/dify_plugin
Yeuoly 9c324aab14 optimize: replace json.loads with TypeAdapter for JSON unmarshaling (#103)
* refactor: replace json.loads with TypeAdapter for JSON validation in request readers and model

- Updated JSON parsing in BackwardsInvocation, StdioRequestReader, and TCPReaderWriter to use TypeAdapter for improved validation.
- Enhanced error handling in OAICompatLargeLanguageModel by replacing json.loads with TypeAdapter, ensuring better compliance with expected JSON schema.

* fix: linter
2025-04-17 16:31:40 +08:00
..
2025-02-10 14:58:05 +08:00
2024-12-02 21:10:36 +08:00
2024-12-13 22:49:51 +08:00
2024-09-11 16:19:46 +08:00