Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't include output items with mime type stateful.runme/terminal or … #293

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

jlewi
Copy link
Owner

@jlewi jlewi commented Oct 11, 2024

  • Runme has multiple output items for each cell. It looks like the mime type application/vnd.code.notebook.stdout is usually the one that includes stdout

  • Items with stateful.runme/terminal and stateful.runme/output-items in prompt include JSON objects that don't seem relevant to getting help from the AI so we want to filter them out when converting to markdown so they don't confuse the AI.

Related to: #286

…stateful.runme/output-items in prompt

* Runme has multiple output items for each cell. It looks like the mime type
  application/vnd.code.notebook.stdout is usually the one that includes
  stdout

* Items with stateful.runme/terminal and stateful.runme/output-items in prompt include
  JSON objects that don't seem relevant to getting help from the AI
  so we want to filter them out when converting to markdown so they don't confuse the AI.

Related to: #286
@jlewi jlewi enabled auto-merge (squash) October 11, 2024 00:31
Copy link

netlify bot commented Oct 11, 2024

Deploy Preview for foyle canceled.

Name Link
🔨 Latest commit 4c793c7
🔍 Latest deploy log https://app.netlify.com/sites/foyle/deploys/670871c6cfe1bf000838952f

@jlewi jlewi merged commit 3fc746a into main Oct 11, 2024
5 checks passed
@jlewi jlewi deleted the jlewi/fixoutputs branch October 11, 2024 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant