Automattic / Automattic/jetpack

AI Assistant: investigate responses being wrapped on a code block instead of a normal paragraph

Open
#34,903 1 comment 0 reactions 0 assignees View on GitHub
[Block] AI Assistant [Status] Stale
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Sometimes the assistant gives a response wrapped around a code block, instead of the normal paragraph, resulting in blocks like this one:

![Image](https://github.com/Automattic/jetpack/assets/6760046/7266409f-0921-4421-8496-2f30f51ac9a5)

---

The issue is hard to replicate, looks like a random issue.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named, and the issue says the problem is difficult to reproduce. Start by reviewing the linked screenshot and investigating the assistant response-rendering path; done means identifying the cause of code-block wrapping and confirming normal paragraph responses no longer become blocks.

Written by the indexing model from the issue text.

Assessment

Domain
content
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.