mirror of
https://github.com/run-llama/agents-observability-demo.git
synced 2026-07-01 21:45:07 -04:00
fixes + workflows
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
name: Linting
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
|
||||
- name: Set up Python
|
||||
run: uv python install 3.12
|
||||
|
||||
- name: Run linter
|
||||
shell: bash
|
||||
run: uv run -- pre-commit run -a
|
||||
@@ -0,0 +1,21 @@
|
||||
name: CI Tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
core-typecheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
|
||||
- name: Set up Python
|
||||
run: uv python install
|
||||
|
||||
- name: Run Tests
|
||||
run: uv run -- pytest tests/test_*.py
|
||||
@@ -0,0 +1,22 @@
|
||||
name: Typecheck
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
core-typecheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
|
||||
- name: Set up Python
|
||||
run: uv python install
|
||||
|
||||
- name: Run Mypy
|
||||
working-directory: src
|
||||
run: uv run -- mypy agents_observability_demo
|
||||
@@ -1,6 +1,6 @@
|
||||
The MIT License
|
||||
|
||||
Copyright (c) Clelia Astra Bertelli
|
||||
Copyright (c) Jerry Liu
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Agentic Observability Demo
|
||||
# Agents Observability Demo
|
||||
|
||||
## Your Accurate Flight Assistant
|
||||
## With LlamaIndex and OpenTelemetry!
|
||||
|
||||
This demo showcases a solution for agent observability and tracing by building on the LlamaIndex x OpenTelemetry integration.
|
||||
|
||||
@@ -13,7 +13,7 @@ It traces the activity of an agent capable of extracting information from a Univ
|
||||
Get the GitHub repository:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/AstraBert/agents-observability-demo
|
||||
git clone https://github.com/run-llama/agents-observability-demo
|
||||
```
|
||||
|
||||
Install dependencies:
|
||||
|
||||
Reference in New Issue
Block a user