The Cognitive Distortion Journal (CDJ) is a smart journaling tool that helps remedy distorted thinking. It can feel impossible to follow the CBT technique of labeling and reframing distorted thinking when you've been thinking this way your whole life. The CDJ can help with that 🧠✨ -- v2 is in development!
This PR addresses the reviews left by @davidzlu in PR #163. The following updates have been made:
Refactored Assistants
Moved interfaces (Permission, Model, ModelsResponse, Entry, EntryAnalysis, Message, ChatMessage, Prompt, ChatCompletionChoice, ChatCompletionUsage, ChatCompletionResponse) into a new interfaces directory.
Updated import statements across modules to reference the new interface files.
Created separate files for each interface to promote reusability and maintainability.
Improved Assistants test should return the filtered model when it exists
Updated test to avoid reliance on array indices in tests.
Modified the test to search for the expected model based on properties, making it more robust against changes in the models array.
This PR addresses the reviews left by @davidzlu in PR #163. The following updates have been made:
Refactored Assistants
Permission
,Model
,ModelsResponse
,Entry
,EntryAnalysis
,Message
,ChatMessage
,Prompt
,ChatCompletionChoice
,ChatCompletionUsage
,ChatCompletionResponse
) into a newinterfaces
directory.Improved Assistants test
should return the filtered model when it exists