Save local changes (GSC/Bing integrations) before merging PR #354
This commit is contained in:
@@ -62,6 +62,9 @@ class FacebookPersonaService:
|
||||
|
||||
# Get Facebook-specific schema
|
||||
schema = self._get_enhanced_facebook_schema()
|
||||
|
||||
# Extract user_id for tracking
|
||||
user_id = onboarding_data.get("session_info", {}).get("user_id")
|
||||
|
||||
# Generate structured response using Gemini with optimized prompts
|
||||
response = gemini_structured_json_response(
|
||||
@@ -69,7 +72,8 @@ class FacebookPersonaService:
|
||||
schema=schema,
|
||||
temperature=0.2,
|
||||
max_tokens=4096,
|
||||
system_prompt=system_prompt
|
||||
system_prompt=system_prompt,
|
||||
user_id=user_id
|
||||
)
|
||||
|
||||
if not response or "error" in response:
|
||||
|
||||
Reference in New Issue
Block a user