import { computed, ref } from 'vue'

/**
 * Internal auth/session config.
 * Upstream model credentials stay on the server and are not configured in this UI.
 */
export const useApiConfig = () => {
  const apiKey = ref('internal-session')
  const baseUrl = ref('/api')
  const isConfigured = computed(() => true)

  const setApiKey = () => {}
  const setBaseUrl = () => {}
  const configure = () => {}
  const clear = () => {}

  return {
    apiKey,
    baseUrl,
    isConfigured,
    setApiKey,
    setBaseUrl,
    configure,
    clear
  }
}
