e-m-b-a/emba

Expand the options in LocalAI configurations

开放

#2,068 创建于 2026年8月8日

 (1 条评论) (1 个反应) (0 位负责人)Shell (314 个派生)auto 404
AI-assissted firmware analysisEMBAenhancementgood first issuehelp wanted

仓库指标

星标
 (3,565 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Is your feature request related to a problem? Please describe.

Please expand the options in your LocalAI calls to allow us to configure more elements of the URL.

Currently, the Scheme, Port and API_endpoint are hardcoded in the /modules/Q03_localai_connector.sh file:

  • line 292: http://"${LOCAL_AI_IP}":8080/v1/chat/completions
  • line 419: http://"${LOCAL_AI_IP}":8080/v1/models

Describe the solution you'd like

  1. It would be nice if the AI_OPTION=3 parameter could be set as a command line option and/or fixed in the /config/ai_config.env file.
  2. In the /config/ai_config.env file contains the
  • Schema (HTTP/HTTPS) -> LOCAL_AI_SCHEME="HTTPS"
  • Port (0-65535) -> LOCAL_AI_PORT="8080"
  • Path to API endpoint: -> LOCAL_AI_API_ENDPOINT="/v1"

Describe alternatives you've considered Instead, we could use an HTTP proxy.

Priority issue Are you already a Sponsor? - [Y/N] N

Additional context URL syntax - wiki

贡献者指南