Skip to content

Commit 13e0682

Browse files
feat(api): api update
1 parent 0e1fd91 commit 13e0682

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 30
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-1cb26e44dcabc61d707d60021634ddc0f49801a4df53e9d0a5b1a94c5cc7fdda.yml
3-
openapi_spec_hash: d79eaf4567192a98df6af149efe3dc86
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-c3c0525ba688c7a7ce78190c7f35bf9f4c03a97863e1c58b24fc4bb751cf2c06.yml
3+
openapi_spec_hash: be38987f64115e3cff6930749bfc6464
44
config_hash: 0ed970a9634b33d0af471738b478740d

src/hyperspell/resources/sessions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def add(
5050
*,
5151
history: str,
5252
date: Union[str, datetime] | Omit = omit,
53-
extract: List[Literal["procedure", "memory"]] | Omit = omit,
53+
extract: List[Literal["procedure", "memory", "mood"]] | Omit = omit,
5454
format: Optional[Literal["vercel", "hyperdoc", "openclaw"]] | Omit = omit,
5555
metadata: Optional[Dict[str, Union[str, float, bool]]] | Omit = omit,
5656
session_id: str | Omit = omit,
@@ -161,7 +161,7 @@ async def add(
161161
*,
162162
history: str,
163163
date: Union[str, datetime] | Omit = omit,
164-
extract: List[Literal["procedure", "memory"]] | Omit = omit,
164+
extract: List[Literal["procedure", "memory", "mood"]] | Omit = omit,
165165
format: Optional[Literal["vercel", "hyperdoc", "openclaw"]] | Omit = omit,
166166
metadata: Optional[Dict[str, Union[str, float, bool]]] | Omit = omit,
167167
session_id: str | Omit = omit,

src/hyperspell/types/memory_search_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ class Options(TypedDict, total=False):
265265
max_results: int
266266
"""Maximum number of results to return."""
267267

268-
memory_types: List[Literal["procedure", "memory"]]
268+
memory_types: List[Literal["procedure", "memory", "mood"]]
269269
"""Filter by memory type.
270270
271271
Defaults to generic memories only. Pass multiple types to include procedures,

src/hyperspell/types/session_add_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class SessionAddParams(TypedDict, total=False):
2222
date: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
2323
"""Date of the trace"""
2424

25-
extract: List[Literal["procedure", "memory"]]
25+
extract: List[Literal["procedure", "memory", "mood"]]
2626
"""What kind of memories to extract from the trace"""
2727

2828
format: Optional[Literal["vercel", "hyperdoc", "openclaw"]]

0 commit comments

Comments
 (0)