Skip to content

Commit ba8c91e

Browse files
committed
less filtering
1 parent c25dc84 commit ba8c91e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/agentlab/experiments/list_openai_models.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
df = pd.DataFrame([dict(model) for model in models.data])
77

88
# Filter GPT models or o1 models
9-
df = df[df["id"].str.contains("gpt") | df["id"].str.contains("o1")]
9+
# df = df[df["id"].str.contains("gpt") | df["id"].str.contains("o1")]
1010

1111
# Convert Unix timestamps to dates (YYYY-MM-DD) and remove time
1212
df["created"] = pd.to_datetime(df["created"], unit="s").dt.date
1313
df.sort_values(by="created", inplace=True)
1414
# Print all entries
15-
print(df)
15+
16+
# print all entries
17+
print(df.to_string(index=False))

0 commit comments

Comments
 (0)