providers

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package providers 提供 agentclient.Provider 的内置实现。

custom 为 gobrave 原生 Agent(见 internal/agent/native);copilot 基于 copilot-sdk;claude_code / codex 仍为占位实现,后续按需接入。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() []agentclient.Provider

All 返回框架内置的全部 Provider,供容器启动时统一注册。 新增 Provider 时在此追加。

func NewClaudeCode

func NewClaudeCode() agentclient.Provider

NewClaudeCode 创建 Claude Code Provider(占位,待接入 Anthropic Claude Code CLI 真实调用)。

func NewCodex

func NewCodex() agentclient.Provider

NewCodex 创建 Codex Provider(占位,待接入 OpenAI Codex CLI 真实调用)。

func NewCopilot

func NewCopilot() agentclient.Provider

NewCopilot 创建 Copilot Provider。

func NewCustom

func NewCustom() agentclient.Provider

NewCustom 创建原生 Agent Provider。

它直接使用 gobrave 自己的 LLM 协议客户端与工具注册表驱动 Agent 循环, 不再依赖 opencode SDK。Provider 名称仍保留为 "custom"(与内置 Profile 一致)。

func NewMock

func NewMock() agentclient.Provider

NewMock 创建 mock Provider。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL