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
10 changes: 10 additions & 0 deletions .github/workflows/start-fly-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ jobs:
- name: Setup Fly CLI
uses: superfly/flyctl-actions/setup-flyctl@master

- name: Verify FLY_API_TOKEN is configured
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_TESTING }}
run: |
if [ -z "${FLY_API_TOKEN}" ]; then
echo "::error::FLY_API_TOKEN_TESTING secret is not configured for this repository."
echo "::error::Add a FLY_API_TOKEN_TESTING repository secret in Settings > Secrets and variables > Actions."
exit 1
fi

- name: Get Fly app info
id: get-app-info
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-cmd "pg_isready -U postgres"
--health-interval 10s
--health-timeout 5s
--health-retries 5
Expand Down Expand Up @@ -103,8 +103,8 @@ jobs:
DB_CONNECTION_URI: postgresql+psycopg://postgres:postgres@localhost:5432/test_db
AUTH_USE_AUTH: false
SENTRY_ENABLED: false
LLM_OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
LLM_ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
LLM_OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY || 'test-key' }}
LLM_ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY || 'test-key' }}
LLM_OPENAI_COMPATIBLE_API_KEY: test-key
LLM_OPENAI_COMPATIBLE_BASE_URL: http://localhost:8000
DERIVER_PROVIDER: openai
Expand Down
6 changes: 3 additions & 3 deletions src/routers/conclusions.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ async def query_conclusions(
if not observer or not observed:
raise ValidationException(
"observer and observed must be specified for semantic search. "
"Pass them inside the 'filters' object, e.g. "
'{"query": "...", "filters": {"observer": "hermes", "observed": "austin"}}. '
"Both 'observer'/'observer_id' and 'observed'/'observed_id' are accepted."
+ "Pass them inside the 'filters' object, e.g. "
+ '{"query": "...", "filters": {"observer": "hermes", "observed": "austin"}}. '
+ "Both 'observer'/'observer_id' and 'observed'/'observed_id' are accepted."
)

with embedding_call_purpose(
Expand Down
Loading