Skip to content

Commit

Permalink
Update 2024-11-13 (#34)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
friendli-bot and github-actions[bot] authored Nov 13, 2024
1 parent aca9559 commit ebbf20c
Show file tree
Hide file tree
Showing 20 changed files with 167 additions and 141 deletions.
19 changes: 10 additions & 9 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: f3669dca-8853-4d85-914e-fb38172139b6
management:
docChecksum: 706c95d31e48d8a0717a3ed3b67253d9
docChecksum: 99d07173ccda8c20e3ddf80796f72f55
docVersion: v1
speakeasyVersion: 1.438.1
generationVersion: 2.457.2
releaseVersion: 0.2.31
configChecksum: a95358d9ad3f4fa5b9b72d1eea8dcf24
releaseVersion: 0.2.32
configChecksum: 188cec8d2e6d7cff86960074c89a6e7d
repoURL: https://github.com/friendliai/friendli-python-internal.git
installationURL: https://github.com/friendliai/friendli-python-internal.git
published: true
Expand Down Expand Up @@ -99,7 +99,6 @@ generatedFiles:
- docs/models/message.md
- docs/models/name.md
- docs/models/object.md
- docs/models/one.md
- docs/models/otherbuiltintool.md
- docs/models/otherbuiltintooltype.md
- docs/models/parameters.md
Expand Down Expand Up @@ -149,15 +148,17 @@ generatedFiles:
- docs/models/streamedcompletionstokencompleteevent.md
- docs/models/streamedcompletionstokensampled.md
- docs/models/streamedtoolassistedchatresult.md
- docs/models/streamedtoolassistedchatresultdata.md
- docs/models/streamedtoolassistedchattoken.md
- docs/models/streamedtoolassistedchattokendata.md
- docs/models/streamedtoolassistedchattoolstatus.md
- docs/models/streamedtoolassistedchattoolstatusdata.md
- docs/models/streamedtoolassistedchattoolstatusparameters.md
- docs/models/streamoptions.md
- docs/models/systemmessage.md
- docs/models/tokenizationresult.md
- docs/models/tokensequence.md
- docs/models/tool.md
- docs/models/toolassistedchattool.md
- docs/models/toolassistedchattoolstatusevent.md
- docs/models/toolassistedchattoolstatuseventparameters.md
- docs/models/toolcalls.md
- docs/models/toolchoice.md
- docs/models/toolchoicefunction.md
Expand All @@ -167,7 +168,6 @@ generatedFiles:
- docs/models/toolmessagerole.md
- docs/models/tooltype.md
- docs/models/toplogprobs.md
- docs/models/two.md
- docs/models/type.md
- docs/models/usage.md
- docs/models/usermessage.md
Expand Down Expand Up @@ -254,12 +254,13 @@ generatedFiles:
- src/friendli/models/streamedcompletionstokencomplete.py
- src/friendli/models/streamedcompletionstokensampled.py
- src/friendli/models/streamedtoolassistedchatresult.py
- src/friendli/models/streamedtoolassistedchattoken.py
- src/friendli/models/streamedtoolassistedchattoolstatus.py
- src/friendli/models/systemmessage.py
- src/friendli/models/tokenizationresult.py
- src/friendli/models/tokensequence.py
- src/friendli/models/tool.py
- src/friendli/models/toolassistedchattool.py
- src/friendli/models/toolassistedchattoolstatusevent.py
- src/friendli/models/toolmessage.py
- src/friendli/models/usage.py
- src/friendli/models/usermessage.py
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
python:
version: 0.2.31
version: 0.2.32
additionalDependencies:
dev: {}
main: {}
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.438.1
sources:
Friendli-API-Schema:
sourceNamespace: friendli-api-schema
sourceRevisionDigest: sha256:d2e0758973f95c0c9d2122eae81e6607a7097a67e1a120f96eddc8cc851b5f77
sourceBlobDigest: sha256:0000377b78e32849a6ca38094f1cb922b40a9f62159ea3982dbb805a7b6b97f3
sourceRevisionDigest: sha256:6ba88a2eb77c8d9829ed1761eac7238aeb6f7d0e1e933a3f987e84d36b622a27
sourceBlobDigest: sha256:a9cc0f4290ddbe6071739a1a3e1ee7fd361c373d80975d1d26acf8a4c1250d3d
tags:
- latest
- main
targets:
friendli:
source: Friendli-API-Schema
sourceNamespace: friendli-api-schema
sourceRevisionDigest: sha256:d2e0758973f95c0c9d2122eae81e6607a7097a67e1a120f96eddc8cc851b5f77
sourceBlobDigest: sha256:0000377b78e32849a6ca38094f1cb922b40a9f62159ea3982dbb805a7b6b97f3
sourceRevisionDigest: sha256:6ba88a2eb77c8d9829ed1761eac7238aeb6f7d0e1e933a3f987e84d36b622a27
sourceBlobDigest: sha256:a9cc0f4290ddbe6071739a1a3e1ee7fd361c373d80975d1d26acf8a4c1250d3d
codeSamplesNamespace: friendli-api-schema-code-samples
codeSamplesRevisionDigest: sha256:89b4976734dda6816c8e72e05efc5e0755ba39d3d3112036bf6f5e0542287b2f
codeSamplesRevisionDigest: sha256:12fa260f0e2a59c92618ec2733a028f9ae7b676ddc80be828734da3b1f72d05b
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,14 @@ Based on:
### Generated
- [python v0.2.31] .
### Releases
- [PyPI v0.2.31] https://pypi.org/project/friendli/0.2.31 - .
- [PyPI v0.2.31] https://pypi.org/project/friendli/0.2.31 - .

## 2024-11-13 07:21:59
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.438.1 (2.457.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.2.32] .
### Releases
- [PyPI v0.2.32] https://pypi.org/project/friendli/0.2.32 - .
8 changes: 0 additions & 8 deletions docs/models/one.md

This file was deleted.

8 changes: 4 additions & 4 deletions docs/models/streamedtoolassistedchatresult.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ A server-sent event containing chat completions content.

## Supported Types

### `models.One`
### `models.StreamedToolAssistedChatToken`

```python
value: models.One = /* values here */
value: models.StreamedToolAssistedChatToken = /* values here */
```

### `models.Two`
### `models.StreamedToolAssistedChatToolStatus`

```python
value: models.Two = /* values here */
value: models.StreamedToolAssistedChatToolStatus = /* values here */
```

8 changes: 8 additions & 0 deletions docs/models/streamedtoolassistedchattoken.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# StreamedToolAssistedChatToken


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `data` | [Optional[models.StreamedToolAssistedChatTokenData]](../models/streamedtoolassistedchattokendata.md) | :heavy_minus_sign: | N/A |
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# StreamedToolAssistedChatResultData
# StreamedToolAssistedChatTokenData


## Fields
Expand Down
9 changes: 9 additions & 0 deletions docs/models/streamedtoolassistedchattoolstatus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# StreamedToolAssistedChatToolStatus


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `event` | *Optional[Literal["tool_status"]]* | :heavy_minus_sign: | N/A |
| `data` | [Optional[models.StreamedToolAssistedChatToolStatusData]](../models/streamedtoolassistedchattoolstatusdata.md) | :heavy_minus_sign: | N/A |
16 changes: 16 additions & 0 deletions docs/models/streamedtoolassistedchattoolstatusdata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# StreamedToolAssistedChatToolStatusData


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `tool_call_id` | *str* | :heavy_check_mark: | The ID of the tool call. |
| `name` | [models.Name](../models/name.md) | :heavy_check_mark: | The name of the built-in tool. |
| `status` | [models.Status](../models/status.md) | :heavy_check_mark: | Indicates the current execution status of the tool. |
| `parameters` | List[[models.StreamedToolAssistedChatToolStatusParameters](../models/streamedtoolassistedchattoolstatusparameters.md)] | :heavy_check_mark: | N/A |
| `result` | *str* | :heavy_check_mark: | The output from the tool’s execution. |
| `timestamp` | *float* | :heavy_check_mark: | The Unix timestamp (in seconds) for when the event occurred. |
| `files` | List[[models.Files](../models/files.md)] | :heavy_minus_sign: | N/A |
| `message` | *Optional[str]* | :heavy_minus_sign: | Message generated by the tool’s execution. |
| `error` | [Optional[models.Error]](../models/error.md) | :heavy_minus_sign: | N/A |
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ToolAssistedChatToolStatusEventParameters
# StreamedToolAssistedChatToolStatusParameters


## Fields
Expand Down
Loading

0 comments on commit ebbf20c

Please sign in to comment.