Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev -> main #1054

Merged
merged 5 commits into from
Jan 14, 2025
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
6 changes: 6 additions & 0 deletions llm-proxy/litellm-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ model_list:
api_key: os.environ/OPENROUTER_API_KEY
tags: ["paid"]

- model_name: "l3.1-euryale-70b"
litellm_params:
model: "openrouter/sao10k/l3.1-euryale-70b"
api_key: os.environ/OPENROUTER_API_KEY
tags: ["paid"]

- model_name: "l3.3-euryale-70b"
litellm_params:
model: "openrouter/sao10k/l3.3-euryale-70b"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
BEGIN;

-- Drop the updated constraints
ALTER TABLE agents
DROP CONSTRAINT IF EXISTS ct_agents_about_length;

ALTER TABLE tools
DROP CONSTRAINT IF EXISTS ct_tools_description_length;

ALTER TABLE files
DROP CONSTRAINT IF EXISTS ct_files_description_length;

ALTER TABLE tasks
DROP CONSTRAINT IF EXISTS ct_tasks_description_length;

-- Restore original constraints
ALTER TABLE tools
ADD CONSTRAINT ct_tools_description_length CHECK (
description IS NULL
OR length(description) <= 1000
);

ALTER TABLE files
ADD CONSTRAINT ct_files_description_length CHECK (
description IS NULL
OR length(description) <= 1000
);

ALTER TABLE tasks
ADD CONSTRAINT ct_tasks_description_length CHECK (
description IS NULL
OR length(description) <= 1000
);

ALTER TABLE agents
ADD CONSTRAINT ct_agents_about_length CHECK (
about IS NULL
OR length(about) <= 5000
);

COMMIT;
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
BEGIN;

-- Drop existing constraints
ALTER TABLE agents
DROP CONSTRAINT IF EXISTS ct_agents_about_length;

ALTER TABLE tools
DROP CONSTRAINT IF EXISTS ct_tools_description_length;

ALTER TABLE files
DROP CONSTRAINT IF EXISTS ct_files_description_length;

ALTER TABLE tasks
DROP CONSTRAINT IF EXISTS ct_tasks_description_length;

-- Add new constraints with updated length
ALTER TABLE agents
ADD CONSTRAINT ct_agents_about_length CHECK (
about IS NULL
OR length(about) <= 16000
);

ALTER TABLE tools
ADD CONSTRAINT ct_tools_description_length CHECK (
description IS NULL
OR length(description) <= 16000
);

ALTER TABLE files
ADD CONSTRAINT ct_files_description_length CHECK (
description IS NULL
OR length(description) <= 16000
);

ALTER TABLE tasks
ADD CONSTRAINT ct_tasks_description_length CHECK (
description IS NULL
OR length(description) <= 16000
);

COMMIT;
Loading