Closed wsf1990 closed 11 months ago
@wsf1990 should have been fixed with version 0.7.1
I'm sorry, a new situation meet. The bot response with both two endtag,like this:
```python
<startCode>
import pandas as pd
df = pd.read_csv('data.csv')
print(df.head())
</startCode>
<endCode>
```
🚀 The feature
I use ERNIE BOT with langchain. And the bot response the code endswith.So can we replace the
</startCode>
and raise can't found code error. I read the source code and found it just parse</startCode>
to<endCode>
? The whole response like this:Motivation, pitch
ERNIE bot cant response code endswith
<endCode>
but</startCode>
Alternatives
No response
Additional context
No response