Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Publish Python Client to PyPI
name: Publish to PyPI

on:
workflow_dispatch:
push:
branches:
- main

jobs:
publish:
Expand Down Expand Up @@ -40,7 +43,7 @@ jobs:
run: |
VERSION="${{ steps.current-version.outputs.current_version }}"
PACKAGE_NAME="robosystems-client"

# Check if version exists on PyPI
if curl -s "https://pypi.org/pypi/${PACKAGE_NAME}/${VERSION}/json" | grep -q "\"version\""; then
echo "❌ Version ${VERSION} already exists on PyPI"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "robosystems-client"
version = "0.1.11"
version = "0.1.12"
description = "Python Client for RoboSystems financial graph database API"
readme = "README.md"
requires-python = ">=3.10"
Expand Down
8 changes: 4 additions & 4 deletions robosystems_client/api/agent/query_financial_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def sync_detailed(

**Credit Consumption:**
- AI operations consume credits based on actual token usage
- Claude 4 Opus: ~15 credits per 1K input tokens, ~75 credits per 1K output tokens
- Claude 4/4.1 Opus: ~15 credits per 1K input tokens, ~75 credits per 1K output tokens
- Claude 4 Sonnet: ~3 credits per 1K input tokens, ~15 credits per 1K output tokens
- Credits are consumed after operation completes based on actual usage

Expand Down Expand Up @@ -225,7 +225,7 @@ def sync(

**Credit Consumption:**
- AI operations consume credits based on actual token usage
- Claude 4 Opus: ~15 credits per 1K input tokens, ~75 credits per 1K output tokens
- Claude 4/4.1 Opus: ~15 credits per 1K input tokens, ~75 credits per 1K output tokens
- Claude 4 Sonnet: ~3 credits per 1K input tokens, ~15 credits per 1K output tokens
- Credits are consumed after operation completes based on actual usage

Expand Down Expand Up @@ -307,7 +307,7 @@ async def asyncio_detailed(

**Credit Consumption:**
- AI operations consume credits based on actual token usage
- Claude 4 Opus: ~15 credits per 1K input tokens, ~75 credits per 1K output tokens
- Claude 4/4.1 Opus: ~15 credits per 1K input tokens, ~75 credits per 1K output tokens
- Claude 4 Sonnet: ~3 credits per 1K input tokens, ~15 credits per 1K output tokens
- Credits are consumed after operation completes based on actual usage

Expand Down Expand Up @@ -392,7 +392,7 @@ async def asyncio(

**Credit Consumption:**
- AI operations consume credits based on actual token usage
- Claude 4 Opus: ~15 credits per 1K input tokens, ~75 credits per 1K output tokens
- Claude 4/4.1 Opus: ~15 credits per 1K input tokens, ~75 credits per 1K output tokens
- Claude 4 Sonnet: ~3 credits per 1K input tokens, ~15 credits per 1K output tokens
- Credits are consumed after operation completes based on actual usage

Expand Down
1 change: 1 addition & 0 deletions robosystems_client/api/subgraphs/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Contains endpoint functions for accessing the API"""
Loading