tenant() helper, which may not work with custom multi-tenancy implementations.ai_log().AdminPanelProvider.ai_log() captures all AI requests (e.g., chat completions, embeddings).ai_requests).ai_log() for unsupported providers, but requires manual implementation of token counting and cost logic.ai_requests table. Consider:
ai_log() calls should be async to avoid blocking AI response times. Evaluate queue-based logging (e.g., Laravel queues).provider, model, created_at).ai_log() exceptions won’t halt AI requests but may lead to incomplete cost data. Implement retries or dead-letter queues.tenant() helper isn’t properly scoped.ai_log() for custom providers.How can I help you explore Laravel packages today?