add testProfileId option in py-sdk

This commit is contained in:
ramnique 2025-02-28 17:45:54 +05:30
parent 768c5749a0
commit edf901bf11
4 changed files with 32 additions and 7 deletions

View file

@ -101,6 +101,23 @@ chat = StatefulChat(
)
```
#### Using a test profile
You can specify a test profile ID to use a specific test configuration:
```python
response_messages, state = client.chat(
messages=messages,
test_profile_id="<TEST_PROFILE_ID>"
)
# or
chat = StatefulChat(
client,
test_profile_id="<TEST_PROFILE_ID>"
)
```
#### Skip tool call runs
This will surface the tool calls to the SDK instead of running them automatically on the Rowboat server.