Skip to content

LCORE-950: Default model and provider description#851

Merged
tisnik merged 1 commit intolightspeed-core:mainfrom
tisnik:lcore-950-default-model-and-provider-description
Nov 27, 2025
Merged

LCORE-950: Default model and provider description#851
tisnik merged 1 commit intolightspeed-core:mainfrom
tisnik:lcore-950-default-model-and-provider-description

Conversation

@tisnik
Copy link
Copy Markdown
Contributor

@tisnik tisnik commented Nov 27, 2025

Description

LCORE-950: Default model and provider description

Type of change

  • Refactor
  • New feature
  • Bug fix
  • CVE fix
  • Optimization
  • Documentation Update
  • Configuration Update
  • Bump-up service version
  • Bump-up dependent library
  • Bump-up library or tool used for development (does not change the final image)
  • CI configuration change
  • Konflux configuration change
  • Unit tests improvement
  • Integration tests improvement
  • End to end tests improvement

Tools used to create PR

Identify any AI code assistants used in this PR (for transparency and review context)

  • Assisted-by: CodeRabbit
  • Generated by: N/A

Related Tickets & Documents

  • Related Issue #LCORE-950

Summary by CodeRabbit

Documentation

  • Added new guidance on selecting providers and models for LLM configuration
  • Included examples of provider and model fields in REST API request payloads
  • Documented configuration options for setting default providers and models in Lightspeed Core Stack configuration
  • Expanded configuration guide with instructions for provider/model selection at both API request and configuration levels

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Nov 27, 2025

Walkthrough

This PR adds documentation to README.md explaining how to select providers and models through REST API requests and via default configuration settings in the Lightspeed Core Stack.

Changes

Cohort / File(s) Summary
Documentation subsection additions
README.md
Added "Selecting provider and model" section under LLM configuration with sub-sections for provider/model selection in REST API requests (including payload examples) and default provider/model configuration guidance.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

  • Pure documentation additions with no code logic changes
  • Straightforward content explaining existing API and configuration options
  • Minimal review scope focused on accuracy of documentation content

Possibly related PRs

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: documentation about default model and provider configuration, which is the core focus of the README.md updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f3a24ea and ea9cac0.

📒 Files selected for processing (1)
  • README.md (3 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.18.1)
README.md

25-25: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


26-26: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)


27-27: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)


56-56: Unordered list indentation
Expected: 6; Actual: 12

(MD007, ul-indent)


57-57: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)


58-58: Unordered list indentation
Expected: 6; Actual: 12

(MD007, ul-indent)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: build-pr
  • GitHub Check: Konflux kflux-prd-rh02 / lightspeed-stack-on-pull-request
  • GitHub Check: e2e_tests (ci)
  • GitHub Check: e2e_tests (azure)
🔇 Additional comments (1)
README.md (1)

203-237: New documentation section is clear and well-structured.

The addition of the "Selecting provider and model" section effectively documents two complementary mechanisms for provider/model selection:

  1. REST API request parameters (lines 210-224): Clear explanation with a valid JSON example showing the provider and model fields in query requests.
  2. Default configuration (lines 226-236): Clear explanation with YAML example showing default configuration in the inference node.

The documentation aligns with the existing codebase patterns and provides practical guidance for users.

Comment on lines +25 to +27
* [Selecting provider and model](#selecting-provider-and-model)
* [Provider and model selection in REST API request](#provider-and-model-selection-in-rest-api-request)
* [Default provider and model](#default-provider-and-model)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix markdown list indentation in TOC.

The nested list items use 4-space and 8-space indentation, but markdownlint expects 2-space indentation per level. Adjust to maintain consistency with markdown standards.

Apply this diff to fix indentation:

     * [Selecting provider and model](#selecting-provider-and-model)
-        * [Provider and model selection in REST API request](#provider-and-model-selection-in-rest-api-request)
-        * [Default provider and model](#default-provider-and-model)
+    * [Provider and model selection in REST API request](#provider-and-model-selection-in-rest-api-request)
+    * [Default provider and model](#default-provider-and-model)

Committable suggestion skipped: line range outside the PR's diff.

🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

25-25: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


26-26: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)


27-27: Unordered list indentation
Expected: 4; Actual: 8

(MD007, ul-indent)

🤖 Prompt for AI Agents
In README.md around lines 25 to 27, the TOC nested list uses 4- and 8-space
indentation which violates markdownlint; change indentation to 2 spaces per
level so the first-level items have no leading spaces and nested items use two
spaces per level (e.g., top-level "* [Selecting provider and model]" stays
left-aligned, its children use two leading spaces "* [Provider and model
selection...]" and four spaces for deeper nesting), ensuring consistent 2-space
increments across the listed lines.

* [Running Linux container image](#running-linux-container-image)
* [Building Container Images](#building-container-images)
* [Llama-Stack as Separate Service (Server Mode)](#llama-stack-as-separate-service-server-mode)
* [macOS (arm64)](#macos-arm64)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix markdown list indentation for macOS subsections.

Similar to the prior comment, the nested list items for macOS subsections use incorrect indentation (lines 56 and 58). Adjust to maintain consistency with markdown standards.

Apply this diff to fix indentation:

         * [Llama-Stack as Separate Service (Server Mode)](#llama-stack-as-separate-service-server-mode)
-            * [macOS (arm64)](#macos-arm64)
+        * [macOS (arm64)](#macos-arm64)
         * [Llama-Stack as Library (Library Mode)](#llama-stack-as-library-library-mode)
-            * [macOS](#macos)
+        * [macOS](#macos)

Also applies to: 58-58

🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

56-56: Unordered list indentation
Expected: 6; Actual: 12

(MD007, ul-indent)

🤖 Prompt for AI Agents
In README.md around lines 56 and 58, the nested markdown list items for the
macOS subsections are indented incorrectly; update those lines so the macOS
subsection entries are indented consistently as nested list items (use two or
four spaces to match the surrounding nested list style) so they render as
children of the parent list item and maintain markdown list consistency.

@tisnik tisnik merged commit 6cfaeab into lightspeed-core:main Nov 27, 2025
21 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant