docs: translate remaining non-README documentation
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# 3. Services
|
||||
|
||||
English | [中文](03-services.zh.md)
|
||||
|
||||
A **service** is a named capability one plugin provides and other plugins consume through `ctx`. In the harness, `ctx.tools`, `ctx.llm`, and `ctx.agents` are services. A consumer names the capability, such as `'tools'`, rather than importing its provider, so configuration can select a provider without changing the consumer.
|
||||
|
||||
## Provide a service
|
||||
|
||||
Reference in New Issue
Block a user