relizy / AIConfig
Interface: AIConfig
Defined in: src/types.ts:965
Properties
extraGuidelines?
optionalextraGuidelines?:string|AIExtraGuidelines
Defined in: src/types.ts:997
Extra directives appended to the built-in system prompts. A string applies to every target; an object adds directives per target, appended after the global ones.
Examples
'Always use emojis in the changelog'{ global: 'Keep package names in English.', slack: 'Mention the owning team.' }fallback?
optionalfallback?:"raw"|"fail"
Defined in: src/types.ts:989
Behavior when the provider call fails.
raw: fall back to the unmodified changelog body.fail: re-throw the error.
Default
'raw'language?
optionallanguage?:string
Defined in: src/types.ts:982
Output language (ISO 639-1 code or plain English name).
Default
'en'provider?
optionalprovider?:AIProviderName
Defined in: src/types.ts:970
AI provider name
Default
'claude-code'providerRelease?
optionalproviderRelease?:AITargetConfig
Defined in: src/types.ts:1006
Enable AI rewriting for GitHub/GitLab release notes.
providers?
optionalproviders?:object
Defined in: src/types.ts:974
Provider-specific options, keyed by provider name.
ai-sdk?
optionalai-sdk?:AiSdkProviderOptions
claude-code?
optionalclaude-code?:ClaudeCodeProviderOptions
social?
optionalsocial?:AISocialConfig
Defined in: src/types.ts:1010
Enable AI rewriting for social media posts.
systemPromptOverrides?
optionalsystemPromptOverrides?:Partial<Record<AIPromptTarget,string>>
Defined in: src/types.ts:1002
Full replacement of the built-in system prompts. When set, the extraGuidelines and base prompts are ignored for that target.