worst bug with visual orchestration
This commit is contained in:
@@ -74,6 +74,12 @@ def generate_tracks(user_request: str, project_config: dict[str, Any], file_item
|
||||
# Set custom system prompt for this call
|
||||
old_system_prompt = ai_client._custom_system_prompt
|
||||
ai_client.set_custom_system_prompt(system_prompt or "")
|
||||
# Ensure we use the current provider from ai_client state
|
||||
# Import ai_client module-level to access globals
|
||||
import src.ai_client as ai_client_module
|
||||
current_provider = ai_client_module._provider
|
||||
current_model = ai_client_module._model
|
||||
ai_client.set_provider(current_provider, current_model)
|
||||
try:
|
||||
# 3. Call Tier 1 Model (Strategic - Pro)
|
||||
# Note: We use gemini-1.5-pro or similar high-reasoning model for Tier 1
|
||||
|
||||
Reference in New Issue
Block a user