Ironclad / rivet

The open-source visual AI programming environment and TypeScript library
https://rivet.ironcladapp.com
MIT License
2.55k stars 226 forks source link

[Bug]: "Render markdown" in chat nodes output is not working #329

Closed ai-made-approachable closed 5 months ago

ai-made-approachable commented 5 months ago

What happened?

If I activate "render markdown" for the chat node it does not render markdown (see screenshot)

What was the expected functionality?

The option renders markdown.

Describe your environment

MacOS, Node 14.0.0, etc.

Relevant log output

No response

Relevant screenshots

image

Code of Conduct

abrenneke commented 5 months ago

It's working for me, can you give a more detailed reproduction? image

ai-made-approachable commented 5 months ago

I can also not immediately reproduce it with the chat node, but found another case that is reproducable. If you look at the output of a subgraph it does not work.

Just run the main graph and look at the output of the subgraph and activate the "render markdown".

Cannot upload the rivet file, so here is its content:

version: 4 data: attachedData: trivet: testSuites: [] version: 1 graphs: P_AiOxntuyLf5Md9wWqsz: metadata: description: "" id: P_AiOxntuyLf5Md9wWqsz name: Main Graph nodes: '[61Um3XcTFZFIvIhsC3R5J]:subGraph "Subgraph"': data: graphId: PwirGz1O1AzPu5oSEORU- useAsGraphPartialOutput: false useErrorOutput: false visualData: 409/286/330/2// PwirGz1O1AzPu5oSEORU-: metadata: description: "" id: PwirGz1O1AzPu5oSEORU- name: Subgraph nodes: '[X6BlTlZPq9Isnu2lXm-oj]:text "Text"': data: text: Render some markdown for testing outgoingConnections:

abrenneke commented 5 months ago

Fixed subgraph nodes in 1e340da66b7ddecee2cd9829f834f183eee112e5