-
Notifications
You must be signed in to change notification settings - Fork 426
Closed
Labels
bugSomething isn't workingSomething isn't workinguseissue when using `anse.app`issue when using `anse.app`
Description
How is Anse deployed?
Docker
Describe the bug
If the question content starts with a code, the conversation message won't render correctly.
Input
Output
Console Logs
Docker log
2023-05-25 09:54:12 callProviderHandler {
2023-05-25 09:54:12 conversationId: 'temp',
2023-05-25 09:54:12 conversationType: 'chat_single',
2023-05-25 09:54:12 botId: 'temp',
2023-05-25 09:54:12 globalSettings: {
2023-05-25 09:54:12 baseUrl: 'https://api.openai.com',
2023-05-25 09:54:12 model: 'gpt-3.5-turbo-0301',
2023-05-25 09:54:12 maxTokens: 2048,
2023-05-25 09:54:12 temperature: 0.7,
2023-05-25 09:54:12 top_p: 1,
2023-05-25 09:54:12 apiKey: '****'
2023-05-25 09:54:12 },
2023-05-25 09:54:12 botSettings: {},
2023-05-25 09:54:12 prompt: 'Summarize a short and relevant title of input with no more than 5 words.\n' +
2023-05-25 09:54:12 'Rules:\n' +
2023-05-25 09:54:12 '1. Must use the same language as input.\n' +
2023-05-25 09:54:12 '2. Output the title directly, do not add any other content.\n' +
2023-05-25 09:54:12 'The input is:\n' +
2023-05-25 09:54:12 '<div class="h-100% flex flex-col color-base">\n' +
2023-05-25 09:54:12 '如何解释这行代码',
2023-05-25 09:54:12 messages: []
2023-05-25 09:54:12 }
Participation
- I am willing to submit a pull request for this issue.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinguseissue when using `anse.app`issue when using `anse.app`