- Replaced `json.Parse` with `text.ExtractJSON` in the `Next` function of both the `keyword` and `needsearch` assistants for improved fault-tolerant JSON extraction from LLM output. - Simplified content handling by removing unnecessary markdown code block processing, enhancing clarity and efficiency in keyword extraction. - Updated comments to reflect the changes in the extraction method, ensuring better understanding of the functionality. |
||
|---|---|---|
| .. | ||
| bindata.go | ||
| data.go | ||
| data_test.go | ||