Skip to content

Commit 0fb8b64

Browse files
authored
Release Version 1.0.0 (#124)
* prepare for 1.0.0 * change tittle * cleaning * cleaning * add API key setup * add agent example * improve old client message
1 parent 9d238f8 commit 0fb8b64

File tree

545 files changed

+30004
-3720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

545 files changed

+30004
-3720
lines changed

.genignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pyproject.toml
2+
examples/*

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This allows generated code to be indexed correctly
2+
*.py linguist-generated=false

.github/workflows/build_publish.yaml

Lines changed: 0 additions & 90 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Generate MISTRAL-PYTHON-SDK-AZURE
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
"on":
8+
workflow_dispatch:
9+
inputs:
10+
force:
11+
description: Force generation of SDKs
12+
type: boolean
13+
default: false
14+
set_version:
15+
description: optionally set a specific SDK version
16+
type: string
17+
jobs:
18+
generate:
19+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
20+
with:
21+
force: ${{ github.event.inputs.force }}
22+
mode: pr
23+
set_version: ${{ github.event.inputs.set_version }}
24+
speakeasy_version: latest
25+
target: mistral-python-sdk-azure
26+
secrets:
27+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
28+
pypi_token: ${{ secrets.PYPI_TOKEN }}
29+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Generate MISTRAL-PYTHON-SDK-GOOGLE-CLOUD
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
"on":
8+
workflow_dispatch:
9+
inputs:
10+
force:
11+
description: Force generation of SDKs
12+
type: boolean
13+
default: false
14+
set_version:
15+
description: optionally set a specific SDK version
16+
type: string
17+
jobs:
18+
generate:
19+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
20+
with:
21+
force: ${{ github.event.inputs.force }}
22+
mode: pr
23+
set_version: ${{ github.event.inputs.set_version }}
24+
speakeasy_version: latest
25+
target: mistral-python-sdk-google-cloud
26+
secrets:
27+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
28+
pypi_token: ${{ secrets.PYPI_TOKEN }}
29+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Generate MISTRALAI
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
"on":
8+
workflow_dispatch:
9+
inputs:
10+
force:
11+
description: Force generation of SDKs
12+
type: boolean
13+
default: false
14+
set_version:
15+
description: optionally set a specific SDK version
16+
type: string
17+
jobs:
18+
generate:
19+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
20+
with:
21+
force: ${{ github.event.inputs.force }}
22+
mode: pr
23+
set_version: ${{ github.event.inputs.set_version }}
24+
speakeasy_version: latest
25+
target: mistralai-sdk
26+
secrets:
27+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
28+
pypi_token: ${{ secrets.PYPI_TOKEN }}
29+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish MISTRALAI-SDK
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
"on":
8+
push:
9+
branches:
10+
- main
11+
paths:
12+
- RELEASES.md
13+
- '*/RELEASES.md'
14+
jobs:
15+
publish:
16+
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
17+
secrets:
18+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
19+
pypi_token: ${{ secrets.PYPI_TOKEN }}
20+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.gitignore

Lines changed: 8 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
.venv/
2+
pyrightconfig.json
3+
src/*.egg-info/
4+
.python-version
5+
.DS_Store
16
# Byte-compiled / optimized / DLL files
27
__pycache__/
38
*.py[cod]
49
*$py.class
5-
610
# C extensions
711
*.so
8-
912
# Distribution / packaging
1013
.Python
1114
build/
@@ -25,17 +28,14 @@ share/python-wheels/
2528
.installed.cfg
2629
*.egg
2730
MANIFEST
28-
2931
# PyInstaller
3032
# Usually these files are written by a python script from a template
3133
# before PyInstaller builds the exe, so as to inject date/other infos into it.
3234
*.manifest
3335
*.spec
34-
3536
# Installer logs
3637
pip-log.txt
3738
pip-delete-this-directory.txt
38-
3939
# Unit test / coverage reports
4040
htmlcov/
4141
.tox/
@@ -50,75 +50,61 @@ coverage.xml
5050
.hypothesis/
5151
.pytest_cache/
5252
cover/
53-
5453
# Translations
5554
*.mo
5655
*.pot
57-
5856
# Django stuff:
5957
*.log
6058
local_settings.py
6159
db.sqlite3
6260
db.sqlite3-journal
63-
6461
# Flask stuff:
6562
instance/
6663
.webassets-cache
67-
6864
# Scrapy stuff:
6965
.scrapy
70-
7166
# Sphinx documentation
7267
docs/_build/
73-
7468
# PyBuilder
7569
.pybuilder/
7670
target/
77-
7871
# Jupyter Notebook
7972
.ipynb_checkpoints
80-
8173
# IPython
8274
profile_default/
8375
ipython_config.py
84-
8576
# pyenv
8677
# For a library or package, you might want to ignore these files since the code is
8778
# intended to run in multiple environments; otherwise, check them in:
8879
# .python-version
89-
9080
# pipenv
9181
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
9282
# However, in case of collaboration, if having platform-specific dependencies or dependencies
9383
# having no cross-platform support, pipenv may install dependencies that don't work, or not
9484
# install all needed dependencies.
9585
#Pipfile.lock
96-
9786
# poetry
9887
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
9988
# This is especially recommended for binary packages to ensure reproducibility, and is more
10089
# commonly ignored for libraries.
10190
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
10291
#poetry.lock
103-
10492
# pdm
10593
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
10694
#pdm.lock
10795
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
10896
# in version control.
109-
# https://pdm.fming.dev/#use-with-ide
97+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
11098
.pdm.toml
111-
99+
.pdm-python
100+
.pdm-build/
112101
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113102
__pypackages__/
114-
115103
# Celery stuff
116104
celerybeat-schedule
117105
celerybeat.pid
118-
119106
# SageMath parsed files
120107
*.sage.py
121-
122108
# Environments
123109
.env
124110
.venv
@@ -127,38 +113,26 @@ venv/
127113
ENV/
128114
env.bak/
129115
venv.bak/
130-
131116
# Spyder project settings
132117
.spyderproject
133118
.spyproject
134-
135119
# Rope project settings
136120
.ropeproject
137-
138121
# mkdocs documentation
139122
/site
140-
141123
# mypy
142124
.mypy_cache/
143125
.dmypy.json
144126
dmypy.json
145-
146127
# Pyre type checker
147128
.pyre/
148-
149129
# pytype static type analyzer
150130
.pytype/
151-
152131
# Cython debug symbols
153132
cython_debug/
154-
155133
# PyCharm
156134
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157135
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158136
# and can be added to the global gitignore or merged into this file. For a more nuclear
159137
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160138
#.idea/
161-
162-
scratch/
163-
164-
changes.diff

0 commit comments

Comments
 (0)