Skip to content

Commit a7ca375

Browse files
authored
Merge pull request #21 from log10-io/ab/envvar_errormsg
error message and readme updates
2 parents f5c06b4 + 48792d6 commit a7ca375

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,12 @@ Create flexible groups to share and collaborate over all of the above features
6363

6464
## ⚙️ Setup
6565

66-
Create a free account at [log10.io](https://log10.io) to get a `LOG10_TOKEN` and a `LOG10_ORG_ID`. Please add these to your environment along with `LOG10_URL=https://log10.io`.
67-
66+
1. Create a free account at [log10.io](https://log10.io)
67+
2. Set the following environment variables:
68+
- `LOG10_URL=https://log10.io`
69+
- `LOG10_TOKEN`: From the Settings tab in log10.io
70+
- `LOG10_ORG_ID`: From the Organization tab in log10.io
71+
- `OPENAI_API_KEY`: OpenAI API key
6872

6973
## 💬 Community
7074

log10/load.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def get_session_id():
4545

4646
return res.json()['sessionID']
4747
except Exception as e:
48-
raise Exception("Failed to create LOG10 session: " + str(e))
48+
raise Exception("Failed to create LOG10 session: " + str(e) + "\nLikely cause: LOG10 env vars missing or not picked up correctly!" +
49+
"\nSee https://github.com/log10-io/log10#%EF%B8%8F-setup for details")
4950

5051

5152
# Global variable to store the current sessionID.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "log10-io"
7-
version = "0.0.5"
7+
version = "0.0.6"
88
authors = []
99
license = "MIT"
1010
description = "Unified LLM data management"

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="Log10",
8-
version="0.0.5",
8+
version="0.0.6",
99
description="Log10 LLM data management",
1010
author="Log10 team",
1111
author_email="team@log10.io",

0 commit comments

Comments
 (0)