mimo

package
v1.9.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mimo connects to the Xiaomi MiMo API.

Index

Constants

View Source
const (
	ProviderOptionFrequencyPenalty = "frequency_penalty"
	ProviderOptionPresencePenalty  = "presence_penalty"
)

Keys accepted in Request.ProviderOptions, sent as native request fields.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config = compat.Config

Config and Provider are shared with package compat.

type Provider added in v1.9.0

type Provider = compat.Provider

Config and Provider are shared with package compat.

func New

func New(cfg Config) (*Provider, error)

New connects to https://api.xiaomimimo.com/v1. Thinking maps to thinking.type "enabled" or "disabled"; Effort and BudgetTokens are rejected.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL