msg

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayHistory added in v0.0.8

func DisplayHistory(selectedAgent mu.Agent)

func MessageToMap

func MessageToMap(message openai.ChatCompletionMessageParamUnion) (map[string]string, error)

MessageToMap converts an OpenAI chat message to a map with string keys and values

func MessagesToSlice

func MessagesToSlice(messages []openai.ChatCompletionMessageParamUnion) ([]map[string]string, error)

MessagesToSlice converts a slice of OpenAI chat messages to a slice of string maps

Types

This section is empty.

Jump to

Keyboard shortcuts

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