Website: improve speed of deliver-talk-to-us-form-submission action (#50593)

Changes:
- Updated the model used in the prompt helper calls in the
deliver-talk-to-us-form-submission action and the get-enriched helper to
improve the speed of routing users booking a demo.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Improvements**
* Updated location and address enrichment to use an updated language
model, improving the processing of submitted information while
preserving existing form behavior.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Eric
2026-08-05 11:42:13 -05:00
committed by GitHub
parent c24983294e
commit 1563aeb70c
2 changed files with 2 additions and 2 deletions
@@ -107,7 +107,7 @@ Only include a key when you are confident of its value. Omit any key you are uns
locationGuessFromEmailDomain: async()=>{
return await sails.helpers.ai.prompt.with({
prompt: locationGuessPrompt,
baseModel: 'gpt-5-nano-2025-08-07',
baseModel: 'claude-haiku-4-5',
expectJson: true,
systemPrompt: locationGuessSystemPrompt,
}).tolerate((err)=>{
+1 -1
View File
@@ -327,7 +327,7 @@ module.exports = {
locationInfo = await sails.helpers.ai.prompt.with({
prompt: locationPrompt,
baseModel: 'gpt-5-nano-2025-08-07',
baseModel: 'claude-haiku-4-5',
expectJson: true,
systemPrompt: systemPromptForAddressInformation,
}).tolerate((err)=>{