feat: enhance README and update API client initialization

- Updated the README to include new badges, a detailed description of the Hermes Agent, and a table summarizing its features, improving clarity and presentation for users.
- Modified the API client initialization in `transcription_tools.py` and `tts_tool.py` to include a base URL, ensuring compatibility with the OpenAI API.
This commit is contained in:
teknium1 2026-02-23 20:59:39 -08:00
parent 75d251b81a
commit 54dd1b3038
3 changed files with 59 additions and 36 deletions

View file

@ -76,7 +76,7 @@ def transcribe_audio(file_path: str, model: Optional[str] = None) -> dict:
try:
from openai import OpenAI
client = OpenAI(api_key=api_key)
client = OpenAI(api_key=api_key, base_url="https://api.openai.com/v1")
with open(file_path, "rb") as audio_file:
transcription = client.audio.transcriptions.create(