baseUrl method

LLMBuilder baseUrl(
  1. String url
)

Sets the base URL for API requests

Implementation

LLMBuilder baseUrl(String url) {
  // Ensure the URL ends with a slash
  final normalizedUrl = url.endsWith('/') ? url : '$url/';
  _config = _config.copyWith(baseUrl: normalizedUrl);
  return this;
}