PR to copy ref docs links, along with the LLM response #136
Annotations
10 errors and 1 warning
Run linter:
ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts#L215
Replace `·typeof·response·===·"object"·?·response.referenced_documents?.slice(0,·30):response` with `⏎··············typeof·response·===·"object"⏎················?·response.referenced_documents?.slice(0,·30)⏎················:·response;`
|
|
Run linter:
ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts#L217
'llmResponse' is never reassigned. Use 'const' instead
|
|
Run linter:
ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts#L220
Replace `·?·response.referenced_documents` with `⏎··················?·response.referenced_documents⏎······················`
|
|
Run linter:
ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts#L222
Replace `················.join(",\n")·:·response` with `······················.join(",\n")⏎··················:·response,`
|
|
Run linter:
ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts#L224
Replace `llmResponse?.map((llmResponse)·=>·llmResponse).join("")` with `⏎················llmResponse?.map((llmResponse)·=>·llmResponse).join(""),⏎··············`
|
Run linter
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading