Refine play type integration flow and docs
This commit is contained in:
@@ -2,8 +2,8 @@ use super::*;
|
||||
|
||||
pub(crate) fn build_puzzle_form_seed_text(payload: &CreatePuzzleAgentSessionRequest) -> String {
|
||||
build_puzzle_form_seed_prompt(PuzzleFormSeedPromptParts {
|
||||
title: None,
|
||||
work_description: None,
|
||||
title: payload.work_title.as_deref(),
|
||||
work_description: payload.work_description.as_deref(),
|
||||
picture_description: payload
|
||||
.picture_description
|
||||
.as_deref()
|
||||
@@ -32,8 +32,8 @@ pub(crate) async fn save_puzzle_form_payload_before_compile(
|
||||
now: i64,
|
||||
) -> Result<String, Response> {
|
||||
let seed_text = build_puzzle_form_seed_text_from_parts(
|
||||
None,
|
||||
None,
|
||||
payload.work_title.as_deref(),
|
||||
payload.work_description.as_deref(),
|
||||
payload
|
||||
.picture_description
|
||||
.as_deref()
|
||||
|
||||
Reference in New Issue
Block a user