Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ npm i
npm run test
```

## Type Checking (`ty`)

- Run the type checker with: `uvx ty check`
- In sandboxed environments, `uvx` may fail if it cannot access its cache directory (often under `~/.cache/uv`). If you see permission errors referencing `~/.cache/uv`, re-run the command outside the sandbox / with full permissions.

## Code Review & PR Guidelines

### PR Requirements
Expand Down Expand Up @@ -256,5 +261,4 @@ This section contains a list of questions, clarifications, or tasks that LLM age
If there is something that doesn't make sense architecturally, devex-wise, or product-wise, please update this file and the humans will take care of it.
Think of this as the reverse-task assignment - a place where you can communicate back to us.

- [ ] Add TypeScript testing guidelines
- [ ] ...
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -519,5 +519,4 @@ non-subscriptable = "ignore"
unsupported-operator = "ignore"
no-matching-overload = "ignore"
possibly-missing-import = "ignore"
too-many-positional-arguments = "ignore"
not-iterable = "ignore"
2 changes: 1 addition & 1 deletion weave/prompt/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def system_message(self) -> Message:
@property
def system_prompt(self) -> "Prompt":
"""Join all messages into a system prompt object."""
return Prompt(self.as_str, role="system")
return EasyPrompt(self.as_str, role="system")

@property
def messages(self) -> list[Message]:
Expand Down