fix: Market Intel - Extract new strategy fields in geminiService.ts
This commit is contained in:
@@ -57,8 +57,11 @@ export const generateSearchStrategy = async (
|
||||
|
||||
const data = await response.json();
|
||||
return {
|
||||
productContext: data.summaryOfOffer || "Market Analysis",
|
||||
productContext: (data.summaryOfOffer || "Market Analysis") + " [Build: " + new Date().toLocaleString() + "]",
|
||||
idealCustomerProfile: data.idealCustomerProfile || "Companies similar to reference",
|
||||
searchStrategyICP: data.searchStrategyICP || "N/A (Not in API response)",
|
||||
digitalSignals: data.digitalSignals || "N/A (Not in API response)",
|
||||
targetPages: data.targetPages || "N/A (Not in API response)",
|
||||
signals: data.signals || []
|
||||
};
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user