a digital person for bluesky
1"""Annotation tool for stream.thought.ack records."""
2from typing import Optional
3from pydantic import BaseModel, Field
4
5
6class AnnotateAckArgs(BaseModel):
7 note: str = Field(
8 ...,
9 description="A note or annotation to attach to the acknowledgment record"
10 )
11
12
13def annotate_ack(note: str) -> str:
14 """
15 Add a note to the acknowledgment record for the current post interaction.
16
17 This is a "dummy" tool that doesn't directly create records but signals to the system
18 that a note should be included in the stream.thought.ack record when acknowledging
19 the post you're replying to.
20
21 Args:
22 note: A note or annotation to attach to the acknowledgment
23
24 Returns:
25 Confirmation message
26 """
27 # This is a dummy tool - it just returns a confirmation
28 # The actual note will be captured by the bot loop and passed to acknowledge_post
29 return f"Your note will be added to the acknowledgment: \"{note}\""