Skip to content

Commit

Permalink
chore: small docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Dec 16, 2024
1 parent 4a9e9b9 commit 0691368
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,16 @@ resources:
Use the agent with this configuration:
```python
from llmling.config.runtime import RuntimeConfig
from llmling_agent import LLMLingAgent
from llmling import RuntimeConfig
from llmling_agent import LLMlingAgent
from pydantic import BaseModel

class WebResult(BaseModel):
opened_url: str
success: bool

async with RuntimeConfig.open("config.yml") as runtime:
agent = LLMLingAgent[WebResult](runtime)
agent = LLMlingAgent[WebResult](runtime)
result = await agent.run(
"Load the bookmarks resource and open the Python website URL"
)
Expand Down Expand Up @@ -200,7 +200,8 @@ Add LLMLing as a context server in your `settings.json`:
"args": [
"mcp-server-llmling@latest",
"start",
"path/to/your/config.yml"
"path/to/your/config.yml",
"--zed-mode"
]
},
"settings": {}
Expand Down

0 comments on commit 0691368

Please sign in to comment.