Class SpringAIOpenrouterChatService

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

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

    • openrouterChatModel

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

    • SpringAIOpenrouterChatService

      public SpringAIOpenrouterChatService()
  • Method Details