File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,14 +31,15 @@ jobs:
3131 curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
3232 - name : Install dependencies
3333 run : poetry install
34-
3534 - name : Test
3635 run : poetry run pytest -rP .
3736
3837 publish :
3938 needs : [compile, test]
4039 if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
4140 runs-on : ubuntu-latest
41+ permissions :
42+ id-token : write
4243 steps :
4344 - name : Checkout repo
4445 uses : actions/checkout@v4
5152 curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
5253 - name : Install dependencies
5354 run : poetry install
54- - name : Publish to pypi
55- run : |
56- poetry config repositories.remote https://upload.pypi.org/legacy/
57- poetry --no-interaction -v publish --build --repository remote --username "$PYPI_USERNAME" --password "$PYPI_PASSWORD"
58- env :
59- PYPI_USERNAME : ${{ secrets.PYPI_USERNAME }}
60- PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
55+ - name : Build package
56+ run : poetry build
57+ - name : Publish to PyPI
58+ uses : pypa/gh-action-pypi-publish@release/v1
59+ with :
60+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 11# Agora Agent Server SDK for Python
22
33[ ![ fern shield] ( https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen )] ( https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FAgoraIO-Conversational-AI%2Fagent-server-sdk-python )
4- [ ![ pypi] ( https://img.shields.io/pypi/v/agora- agent-server-sdk )] ( https://pypi.python.org/pypi/agora- agent-server-sdk )
4+ [ ![ pypi] ( https://img.shields.io/pypi/v/agent-server-sdk-python )] ( https://pypi.python.org/pypi/agent-server-sdk-python )
55
66The Agora Conversational AI SDK provides convenient access to the Agora Conversational AI APIs,
77enabling you to build voice-powered AI agents with support for both cascading flows (ASR -> LLM -> TTS)
@@ -28,7 +28,7 @@ and multimodal flows (MLLM) for real-time audio processing.
2828## Installation
2929
3030``` sh
31- pip install agora- agent-server-sdk
31+ pip install agent-server-sdk-python
3232```
3333
3434## Quick Start
Original file line number Diff line number Diff line change 11[project ]
2- name = " agora- agent-server-sdk"
2+ name = " agent-server-sdk-python "
33
44[tool .poetry ]
5- name = " agora- agent-server-sdk"
5+ name = " agent-server-sdk-python "
66version = " 1.1.0"
77description = " "
88readme = " README.md"
Original file line number Diff line number Diff line change 11from importlib import metadata
22
3- __version__ = metadata .version ("agora- agent-server-sdk" )
3+ __version__ = metadata .version ("agent-server-sdk-python " )
You can’t perform that action at this time.
0 commit comments