Skip to content

Commit

Permalink
fix SQL syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Nov 15, 2024
1 parent 36d72a4 commit 58e1d91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SET "constantInput" = JSONB_SET(
WHEN "constantInput"::jsonb->'credentials'->>'id' = '53c25cb8-e3ee-465c-a4d1-e75a4c899c2a' THEN '"openai"'::jsonb
WHEN "constantInput"::jsonb->'credentials'->>'id' = '24e5d942-d9e3-4798-8151-90143ee55629' THEN '"anthropic"'::jsonb
WHEN "constantInput"::jsonb->'credentials'->>'id' = '4ec22295-8f97-4dd1-b42b-2c6957a02545' THEN '"groq"'::jsonb
ELSE "constantInput"::jsonb->'credentials'->>'provider'::jsonb
ELSE ("constantInput"::jsonb->'credentials'->>'provider')::jsonb
END
)::text
WHERE "constantInput"::jsonb->'credentials'->>'provider' = 'llm';

0 comments on commit 58e1d91

Please sign in to comment.