[**zonegaze-flow**](../../../../README.md)

***

[zonegaze-flow](../../../../README.md) / [flow/contracts/src](../README.md) / deriveTaskTitleFromPrompt

# Function: deriveTaskTitleFromPrompt()

> **deriveTaskTitleFromPrompt**(`prompt`, `maxChars?`): `string`

Defined in: [flow/kanban-core/src/task-title.ts:24](https://github.com/neuralpilot08/zonegaze-flow/blob/ee47e8308e50071e712017a7f8b0db560a4746ee/flow/kanban-core/src/task-title.ts#L24)

## Parameters

### prompt

`string`

### maxChars?

`number` = `DEFAULT_TASK_TITLE_MAX_CHARS`

## Returns

`string`
