Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: prompt generator in AI assistant #196

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

Rifahaziz
Copy link
Contributor

No description provided.

Copy link
Contributor

github-actions bot commented Jan 15, 2025

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  django/chat
  views.py 917-1011, 1015, 1020-1036
Project Total  

This report was generated by python-coverage-comment-action

@Rifahaziz Rifahaziz requested a review from amusbag January 15, 2025 19:31
right: 40px;
width: 30px;
height: 30px;
display: flex;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this style does not apply if i add it in style.css. i dont know why this gets overridden

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you are targeting #magic-prompt in chat/static/chat/style.css, I don't see why it wouldn't?
You may have to Ctrl+Shift+R to see changes in the browser.

},
],
)
llm.create_costs()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could not verify if this is actually adding to the cost. What's the best way to verify this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inspect the Cost objects in django shell.

@juleskuehn juleskuehn changed the title Feat: add prompt generator in AI assistant feat: add prompt generator in AI assistant Jan 16, 2025
@juleskuehn juleskuehn changed the title feat: add prompt generator in AI assistant feat: prompt generator in AI assistant Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants