Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ import com.github.djaler.evilbot.clients.Keypoint
import com.github.djaler.evilbot.clients.ResponseStatus
import com.github.djaler.evilbot.clients.VideoSummaryResult
import com.github.djaler.evilbot.clients.YandexGptClient
import com.github.djaler.evilbot.config.yandex.YandexApiCondition
import kotlinx.coroutines.delay
import org.springframework.context.annotation.Conditional
import org.springframework.stereotype.Service

@Service
@Conditional(YandexApiCondition::class)
class YandexGptService(
private val yandexGptClient: YandexGptClient
) {
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ telegram.bot.token=
fixer.api.key=
locationiq.api.key=
sentry.dsn=
vk.api.key=
yandex.api.token=
yandex.api.cookie=
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=
spring.datasource.username=
Expand Down
Loading