Class SpringAIOpenrouterService

java.lang.Object
com.bytedesk.ai.springai.service.BaseSpringAIService
com.bytedesk.ai.springai.providers.openrouter.SpringAIOpenrouterService
All Implemented Interfaces:
SpringAIService

@Service @ConditionalOnProperty(name="spring.ai.openrouter.chat.enabled", havingValue="true", matchIfMissing=false) public class SpringAIOpenrouterService extends BaseSpringAIService
  • Field Details

    • openrouterChatModel

      @Autowired(required=false) private org.springframework.ai.openai.OpenAiChatModel openrouterChatModel
  • Constructor Details

    • SpringAIOpenrouterService

      public SpringAIOpenrouterService()
  • Method Details