Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
e2e
|
|
|
fakeapi
command
Command fakeapi is a fake OpenAI, Anthropic, Google Gemini, and Ollama API for driving Oolong end-to-end.
|
Command fakeapi is a fake OpenAI, Anthropic, Google Gemini, and Ollama API for driving Oolong end-to-end. |
|
internal
|
|
|
chat
Package chat defines the provider-neutral conversation and streaming contract shared by the UI, one-shot mode, and every provider client.
|
Package chat defines the provider-neutral conversation and streaming contract shared by the UI, one-shot mode, and every provider client. |
|
clipboard
Package clipboard reads image attachments from the system clipboard.
|
Package clipboard reads image attachments from the system clipboard. |
|
config
Package config loads Oolong's optional TOML config file from ~/.config/oolong/config.toml (or $XDG_CONFIG_HOME/oolong/config.toml).
|
Package config loads Oolong's optional TOML config file from ~/.config/oolong/config.toml (or $XDG_CONFIG_HOME/oolong/config.toml). |
|
keystore
Package keystore stores provider API keys in the OS keychain.
|
Package keystore stores provider API keys in the OS keychain. |
|
mathfmt
Package mathfmt converts LaTeX math in markdown to plain Unicode text.
|
Package mathfmt converts LaTeX math in markdown to plain Unicode text. |
|
oneshot
Package oneshot implements one-shot mode: `oolong "question"` (and `cat main.go | oolong "explain"`) streams the answer straight to stdout with no TUI, which makes Oolong scriptable.
|
Package oneshot implements one-shot mode: `oolong "question"` (and `cat main.go | oolong "explain"`) streams the answer straight to stdout with no TUI, which makes Oolong scriptable. |
|
provider
Package provider resolves configured models into concrete provider routes and constructs the matching clients.
|
Package provider resolves configured models into concrete provider routes and constructs the matching clients. |
|
provider/anthropic
Package anthropic implements streaming chat through Anthropic's Messages API.
|
Package anthropic implements streaming chat through Anthropic's Messages API. |
|
provider/google
Package google implements streaming chat through Google's Gemini API.
|
Package google implements streaming chat through Google's Gemini API. |
|
provider/ollama
Package ollama implements streaming chat through Ollama's native API.
|
Package ollama implements streaming chat through Ollama's native API. |
|
provider/openai
Package openai wraps the OpenAI SDK in a minimal streaming chat client.
|
Package openai wraps the OpenAI SDK in a minimal streaming chat client. |
|
ui
Package ui implements the Oolong terminal user interface.
|
Package ui implements the Oolong terminal user interface. |
|
version
Package version reports the app version shown in the banner and by the -version flag.
|
Package version reports the app version shown in the banner and by the -version flag. |
Click to show internal directories.
Click to hide internal directories.
