Skip to content

Commit 0111bde

Browse files
authored
Merge pull request #12 from dreadnode/ads/eng-1001-create-supporting-docs-for-failed-container-pulls-in
docs: readme addition for container pull errs
2 parents a163905 + 1001531 commit 0111bde

File tree

1 file changed

+44
-2
lines changed

1 file changed

+44
-2
lines changed

README.md

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Robopages Server
22

3+
<div align="center">
4+
5+
<img
6+
src="https://d1lppblt9t2x15.cloudfront.net/logos/5714928f3cdc09503751580cffbe8d02.png"
7+
alt="Logo"
8+
align="center"
9+
width="144px"
10+
height="144px"
11+
/>
12+
13+
14+
315
<p align="center">
416
<a href="https://github.com/dreadnode/robopages-cli/releases/latest"><img alt="Release" src="https://img.shields.io/github/release/dreadnode/robopages-cli.svg?style=fl_pathat-square"></a>
517
<a href="https://crates.io/crates/robopages"><img alt="Crate" src="https://img.shields.io/crates/v/robopages.svg"></a>
@@ -9,6 +21,27 @@
921
<a href="https://github.com/dreadnode/robopages-cli/blob/master/LICENSE.md"><img alt="Software License" src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square"></a>
1022
</p>
1123

24+
## CLI and API server for [robopages](https://github.com/dreadnode/robopages)
25+
26+
</div>
27+
28+
# Table of Contents
29+
30+
- [Robopages Server](#robopages-server)
31+
- [CLI and API server for robopages](#cli-and-api-server-for-robopages)
32+
- [Table of Contents](#table-of-contents)
33+
- [Install with Cargo](#install-with-cargo)
34+
- [Pull from Docker Hub](#pull-from-docker-hub)
35+
- [Build Docker image](#build-docker-image)
36+
- [Note about Docker](#note-about-docker)
37+
- [Build from source](#build-from-source)
38+
- [Usage](#usage)
39+
- [CLI](#cli)
40+
- [SSH](#ssh)
41+
- [Using with LLMs](#using-with-llms)
42+
- [Docker Container Failures](#docker-container-failures)
43+
44+
1245
[Robopages are YAML based files](https://github.com/dreadnode/robopages) for describing tools to large language models (LLMs). They simplify the process of defining and using external tools in LLM-powered applications. By leveraging the `robopages-cli` function calling server, developers can avoid the tedious task of manually writing JSON declarations for each tool. This approach streamlines tool integration, improves maintainability, and allows for more dynamic and flexible interactions between LLMs and external utilities.
1346

1447
Pages are loaded by default from the `~/.robopages/` directory (or any folder set in the `ROBOPAGES_PATH` environment variable), see the `https://github.com/dreadnode/robopages` repository for examples.
@@ -165,8 +198,17 @@ robopages serve --ssh user@host:port --ssh-key ~/.ssh/id_ed25519
165198

166199
> [!IMPORTANT]
167200
> * Setting a SSH connection string will override any container configuration.
168-
> * If the function requires sudo, the remote host is expected to have passwordless sudo access.
201+
> * If the function requires sudo, the remote host is expected to have passwordless sudo access.
169202
170203
### Using with LLMs
171204

172-
The examples folder contains integration examples for [Rigging](/examples/rigging_example.py), [OpenAI](/examples/openai_example.py), [Groq](/examples/groq_example.py), [OLLAMA](/examples/ollama_example.py) and [Nerve](/examples/nerve.md).
205+
The examples folder contains integration examples for [Rigging](/examples/rigging_example.py), [OpenAI](/examples/openai_example.py), [Groq](/examples/groq_example.py), [OLLAMA](/examples/ollama_example.py) and [Nerve](/examples/nerve.md).
206+
207+
## Docker Container Failures
208+
209+
If a function's required Docker container fails to pull (e.g., due to missing permissions or non-existent image), the function will fail to execute. To resolve this:
210+
211+
1. Either gain access to the required container, or
212+
2. Remove the robopage file that references the inaccessible container
213+
214+
This behavior is intentional to prevent functions from executing without their required runtime dependencies.

0 commit comments

Comments
 (0)