integration tests k

This commit is contained in:
bel
2023-06-17 15:29:56 -06:00
parent 242bf0a746
commit a29101296b
5 changed files with 54 additions and 32 deletions

View File

@@ -7,6 +7,7 @@
var data = JSON.parse(body)
document.getElementById("stream-log").innerHTML = data["Messages"]
document.getElementById("stream-prompt").innerHTML = data["Prompt"]
document.getElementById("stream-reverse-prompt").innerHTML = data["ReversePrompt"]
}, null)
}
@@ -68,6 +69,7 @@
<summary>Set up a new session</summary>
<form id="prompt" onsubmit="startStream(this); return false;">
<textarea id="stream-prompt" name="Prompt"></textarea>
<input type="text" id="stream-reverse-prompt" name="ReversePrompt"/>
<button type="submit">Start with prompt</button>
</form>
</details>