Skip to content

Commit

Permalink
fix preci issue
Browse files Browse the repository at this point in the history
Signed-off-by: lvliang-intel <[email protected]>
  • Loading branch information
lvliang-intel committed Dec 19, 2024
1 parent 60747a8 commit 7d7fb58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comps/llms/src/text-generation/integrations/openai_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def get_llm_endpoint():
try:
return configs_map.get(MODEL_NAME).get("endpoint")
except ConfigError as e:
logger.error(f"Input model {model} not present in model_configs. Error {e}")
raise ConfigError(f"Input model {model} not present in model_configs")
logger.error(f"Input model {MODEL_NAME} not present in model_configs. Error {e}")
raise ConfigError(f"Input model {MODEL_NAME} not present in model_configs")


class OpenAILLM(OpeaComponent):
Expand Down

0 comments on commit 7d7fb58

Please sign in to comment.