File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : ci
2- on : [push]
2+ on :
3+ push :
4+ workflow_dispatch :
35jobs :
46 compile :
57 runs-on : ubuntu-latest
@@ -31,14 +33,15 @@ jobs:
3133 curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
3234 - name : Install dependencies
3335 run : poetry install
34-
3536 - name : Test
3637 run : poetry run pytest -rP .
3738
3839 publish :
3940 needs : [compile, test]
40- if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
41+ if : ( github.event_name == 'push' && contains(github.ref, 'refs/tags/')) || github.event_name == 'workflow_dispatch'
4142 runs-on : ubuntu-latest
43+ permissions :
44+ id-token : write
4245 steps :
4346 - name : Checkout repo
4447 uses : actions/checkout@v4
5154 curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
5255 - name : Install dependencies
5356 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 }}
57+ - name : Build package
58+ run : poetry build
59+ - name : Publish to PyPI
60+ uses : pypa/gh-action-pypi-publish@release/v1
61+ with :
62+ 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