Size: 793 bytes.


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// cs/apps/trycopilot.ai/api/prompt.hh
// cs/apps/trycopilot.ai/api/prompt.hh
// cs/apps/trycopilot.ai/api/prompt.hh
#ifndef CS_APPS_TRYCOPILOT_AI_API_PROMPT_HH
#define CS_APPS_TRYCOPILOT_AI_API_PROMPT_HH

#include "cs/apps/trycopilot.ai/protos/prompt.proto.hh"
#include "cs/net/rpc/rpc.hh"
#include "cs/util/di/context.gpt.hh"

namespace cs::apps::trycopilotai::api {

DECLARE_RPC(PromptRPC,
            cs::apps::trycopilotai::protos::PromptRequest,
            cs::apps::trycopilotai::protos::PromptResponse,
            CTX());

DECLARE_RPC(LocalPromptRPC,
            cs::apps::trycopilotai::protos::PromptRequest,
            cs::apps::trycopilotai::protos::PromptResponse,
            CTX());

}  // namespace cs::apps::trycopilotai::api

#endif  // CS_APPS_TRYCOPILOT_AI_API_PROMPT_HH
v0 (commit) © 2025 @p13i.io | Load balancer proxied to: cs-code-viewer-1:8080 in 1ms.