mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
add testProfileId option in py-sdk
This commit is contained in:
parent
768c5749a0
commit
edf901bf11
4 changed files with 32 additions and 7 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue