Files
OpenCode 68a9071cf1 feat: reconcile local master with origin (exa/hot-platform hunters, leaks ledger, latest results)
Local branch had diverged from origin/master (sibling commits on the same base). Rewrote local history linearly on top of origin/master, folding in all local content: exa/hot-platform discovery hunters, leaks ledger, nightly sweep orchestrator, updated .gitignore and skill docs, plus the latest hunt output and vault state. Remote-only files (vault keys, channel scripts) were restored rather than dropped, so the resulting tree is a full union of both sides.
2026-08-07 12:53:47 +08:00

1 line
1.7 KiB
JSON

{"repo": "brayanhf/lexbot-spring", "files": {"src/main/java/com/lexbot/ai/services/impl/DeepSeekServiceImpl.java": {"0aaf6db31b052a2086aa09def09dd652bb83c108": {"t": 1786067596.4128163, "n": 1490, "h": "a7e672ca7bd37d74", "c": "package com.lexbot.ai.services.impl;\n\nimport com.lexbot.ai.dto.request.AIChatRequest;\nimport com.lexbot.ai.dto.response.AIChatResponse;\nimport com.lexbot.ai.services.AIService;\nimport com.lexbot.ai.web_client.WebClientFactory;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.stereotype.Service;\nimport org.springframework.web.reactive.function.client.WebClient;\nimport reactor.core.publisher.Flux;\nimport reactor.core.publisher.Mono;\n\n@Service\npublic class DeepSeekServiceImpl implements AIService {\n\n private final WebClient dsWebClient;\n\n public DeepSeekServiceImpl(WebClientFactory webClientFactory) {\n String DEED_SEEK_API_KEY = System.getenv(\"DEED_SEEK_API_KEY\");\n this.dsWebClient = webClientFactory\n .createWebClient(\n \"https://api.deepseek.com\",\n DEED_SEEK_API_KEY\n );\n }\n\n private WebClient.ResponseSpec dsRequest(AIChatRequest request) {\n return dsWebClient\n .post()\n .uri(\"/chat/completions\")\n .bodyValue(request)\n .retrieve();\n }\n\n @Override\n public Mono<AIChatResponse> chat(AIChatRequest request) {\n request.setStream(false);\n return dsRequest(request).bodyToMono(AIChatResponse.class);\n }\n\n @Override\n public Flux<AIChatResponse> chatStream(AIChatRequest request) {\n request.setStream(true);\n return dsRequest(request).bodyToFlux(AIChatResponse.class);\n }\n\n}\n"}}}}