LearnNewsExamplesServices
Frontmatter
id7962
titleImplement Neo.ai.provider.Base
stateClosed
labels
enhancementai
assigneestobiu
createdAtDec 1, 2025, 11:59 AM
updatedAtDec 1, 2025, 12:26 PM
githubUrlhttps://github.com/neomjs/neo/issues/7962
authortobiu
commentsCount1
parentIssue7961
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtDec 1, 2025, 12:26 PM

Implement Neo.ai.provider.Base

tobiu
tobiu commented on Dec 1, 2025, 11:59 AM

Goal: Create the abstract base class for AI model providers. Scope:

  • Define the standard interface for generate(prompt, config) and stream(prompt, config).
  • Define standard configuration (e.g., apiKey, modelName).
  • Ensure it extends Neo.core.Base. Context: Part of Epic #7961.
tobiu
tobiu Dec 1, 2025, 12:26 PM

Input from Gemini 2.5:

✦ Implemented Neo.ai.provider.Base with requiredEnv security pattern. Moved validation to construct() for better lifecycle alignment.