Skip to content

Commit eb8d160

Browse files
authored
Chore: clean up LLM (prompt caching, supports fn calling), leftover renames (OpenHands#6095)
1 parent 3b0bbce commit eb8d160

21 files changed

Lines changed: 119 additions & 187 deletions

File tree

.github/workflows/ghcr-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
exit 1
220220
fi
221221
222-
# Run unit tests with the EventStream runtime Docker images as root
222+
# Run unit tests with the Docker runtime Docker images as root
223223
test_runtime_root:
224224
name: RT Unit Tests (Root)
225225
needs: [ghcr_build_runtime]
@@ -286,7 +286,7 @@ jobs:
286286
image_name=ghcr.io/${{ github.repository_owner }}/runtime:${{ env.RELEVANT_SHA }}-${{ matrix.base_image }}
287287
image_name=$(echo $image_name | tr '[:upper:]' '[:lower:]')
288288
289-
TEST_RUNTIME=eventstream \
289+
TEST_RUNTIME=docker \
290290
SANDBOX_USER_ID=$(id -u) \
291291
SANDBOX_RUNTIME_CONTAINER_IMAGE=$image_name \
292292
TEST_IN_CI=true \
@@ -297,7 +297,7 @@ jobs:
297297
env:
298298
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
299299

300-
# Run unit tests with the EventStream runtime Docker images as openhands user
300+
# Run unit tests with the Docker runtime Docker images as openhands user
301301
test_runtime_oh:
302302
name: RT Unit Tests (openhands)
303303
runs-on: ubuntu-latest
@@ -363,7 +363,7 @@ jobs:
363363
image_name=ghcr.io/${{ github.repository_owner }}/runtime:${{ env.RELEVANT_SHA }}-${{ matrix.base_image }}
364364
image_name=$(echo $image_name | tr '[:upper:]' '[:lower:]')
365365
366-
TEST_RUNTIME=eventstream \
366+
TEST_RUNTIME=docker \
367367
SANDBOX_USER_ID=$(id -u) \
368368
SANDBOX_RUNTIME_CONTAINER_IMAGE=$image_name \
369369
TEST_IN_CI=true \

docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/architecture/runtime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22

3-
# 📦 Runtime EventStream
3+
# 📦 Runtime Docker
44

5-
Le Runtime EventStream d'OpenHands est le composant principal qui permet l'exécution sécurisée et flexible des actions des agents d'IA.
5+
Le Runtime Docker d'OpenHands est le composant principal qui permet l'exécution sécurisée et flexible des actions des agents d'IA.
66
Il crée un environnement en bac à sable (sandbox) en utilisant Docker, où du code arbitraire peut être exécuté en toute sécurité sans risquer le système hôte.
77

88
## Pourquoi avons-nous besoin d'un runtime en bac à sable ?

docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/configuration-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Les options de configuration de base sont définies dans la section `[core]` du
163163

164164
- `runtime`
165165
- Type : `str`
166-
- Valeur par défaut : `"eventstream"`
166+
- Valeur par défaut : `"docker"`
167167
- Description : Environnement d'exécution
168168

169169
- `default_agent`

docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/how-to/evaluation-harness.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Pour créer un workflow d'évaluation pour votre benchmark, suivez ces étapes :
114114
def get_config(instance: pd.Series, metadata: EvalMetadata) -> AppConfig:
115115
config = AppConfig(
116116
default_agent=metadata.agent_class,
117-
runtime='eventstream',
117+
runtime='docker',
118118
max_iterations=metadata.max_iterations,
119119
sandbox=SandboxConfig(
120120
base_container_image='your_container_image',

docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/architecture/runtime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
以下是翻译后的内容:
22

3-
# 📦 EventStream 运行时
3+
# 📦 Docker 运行时
44

5-
OpenHands EventStream 运行时是实现 AI 代理操作安全灵活执行的核心组件。
5+
OpenHands Docker 运行时是实现 AI 代理操作安全灵活执行的核心组件。
66
它使用 Docker 创建一个沙盒环境,可以安全地运行任意代码而不会危及主机系统。
77

88
## 为什么我们需要沙盒运行时?

docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/configuration-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162

163163
- `runtime`
164164
- 类型: `str`
165-
- 默认值: `"eventstream"`
165+
- 默认值: `"docker"`
166166
- 描述: 运行时环境
167167

168168
- `default_agent`

docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/how-to/evaluation-harness.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ OpenHands 的主要入口点在 `openhands/core/main.py` 中。以下是它的
112112
def get_config(instance: pd.Series, metadata: EvalMetadata) -> AppConfig:
113113
config = AppConfig(
114114
default_agent=metadata.agent_class,
115-
runtime='eventstream',
115+
runtime='docker',
116116
max_iterations=metadata.max_iterations,
117117
sandbox=SandboxConfig(
118118
base_container_image='your_container_image',

docs/modules/usage/architecture/runtime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# 📦 EventStream Runtime
1+
# 📦 Docker Runtime
22

3-
The OpenHands EventStream Runtime is the core component that enables secure and flexible execution of AI agent's action.
3+
The OpenHands Docker Runtime is the core component that enables secure and flexible execution of AI agent's action.
44
It creates a sandboxed environment using Docker, where arbitrary code can be run safely without risking the host system.
55

66
## Why do we need a sandboxed runtime?

docs/modules/usage/configuration-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The core configuration options are defined in the `[core]` section of the `confi
126126

127127
- `runtime`
128128
- Type: `str`
129-
- Default: `"eventstream"`
129+
- Default: `"docker"`
130130
- Description: Runtime environment
131131

132132
- `default_agent`

docs/modules/usage/how-to/evaluation-harness.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ To create an evaluation workflow for your benchmark, follow these steps:
112112
def get_config(instance: pd.Series, metadata: EvalMetadata) -> AppConfig:
113113
config = AppConfig(
114114
default_agent=metadata.agent_class,
115-
runtime='eventstream',
115+
runtime='docker',
116116
max_iterations=metadata.max_iterations,
117117
sandbox=SandboxConfig(
118118
base_container_image='your_container_image',

0 commit comments

Comments
 (0)