Skip to content

PR to copy ref docs links, along with the LLM response #136

PR to copy ref docs links, along with the LLM response

PR to copy ref docs links, along with the LLM response #136

Triggered via pull request January 6, 2025 12:56
Status Failure
Total duration 46s
Artifacts

ui_compile_chatbot.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: 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;`
lint: ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts#L217
'llmResponse' is never reassigned. Use 'const' instead
lint: ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts#L220
Replace `·?·response.referenced_documents` with `⏎··················?·response.referenced_documents⏎······················`
lint: ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts#L222
Replace `················.join(",\n")·:·response` with `······················.join(",\n")⏎··················:·response,`
lint: ansible_ai_connect_chatbot/src/useChatbot/useChatbot.ts#L224
Replace `llmResponse?.map((llmResponse)·=>·llmResponse).join("")` with `⏎················llmResponse?.map((llmResponse)·=>·llmResponse).join(""),⏎··············`
lint
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636