Skip to content

Commit

Permalink
Fix model name instead of provider name when looking up ai config. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dnwpark authored Oct 25, 2024
1 parent d6281c5 commit e838e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edb/server/protocol/ai_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ async def _get_model_provider(
model_name: str,
) -> str:
provider = await _get_model_annotation_as_json(
db, base_model_type, model_name, "ext::ai::model_name")
db, base_model_type, model_name, "ext::ai::model_provider")
return cast(str, provider)


Expand Down

0 comments on commit e838e48

Please sign in to comment.